Skip to content

Commit

Permalink
remove unseful RepositoryQueueTask from import
Browse files Browse the repository at this point in the history
  • Loading branch information
mldzs committed Feb 25, 2021
1 parent c02fa1b commit c853128
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bothub/api/v2/nlp/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
RepositoryNLPLog,
RepositoryExample,
RepositoryEvaluate,
RepositoryQueueTask,
)
from bothub.common.models import RepositoryEntity
from bothub.common.models import RepositoryEvaluateResult
Expand Down Expand Up @@ -139,9 +138,7 @@ def save_queue_id(self, request, **kwargs):
type_processing = request.data.get("type_processing")

repository.create_task(
id_queue=id_queue,
from_queue=from_queue,
type_processing=type_processing,
id_queue=id_queue, from_queue=from_queue, type_processing=type_processing
)
return Response({})

Expand Down

0 comments on commit c853128

Please sign in to comment.