Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Marishka17 committed Mar 3, 2025
1 parent 703d871 commit 4e68cff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 0 additions & 3 deletions cvat/apps/engine/cloud_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -1027,9 +1027,6 @@ def import_resource_from_cloud_storage(

return cleanup_func(import_func, filename, *args, **kwargs)




def export_resource_to_cloud_storage(
db_storage: Any,
func: Callable[[int, str | None, str | None], str],
Expand Down
7 changes: 3 additions & 4 deletions cvat/apps/engine/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
from cvat.apps.engine.media_extractors import get_mime
from cvat.apps.engine.mixins import (
BackupMixin,
CsrfWorkaroundMixin,
DatasetMixin,
PartialUpdateModelMixin,
UploadMixin,
Expand Down Expand Up @@ -345,7 +344,7 @@ def plugins(request: ExtendedRequest):
)
class ProjectViewSet(viewsets.GenericViewSet, mixins.ListModelMixin,
mixins.RetrieveModelMixin, mixins.CreateModelMixin, mixins.DestroyModelMixin,
PartialUpdateModelMixin, UploadMixin, DatasetMixin, BackupMixin, CsrfWorkaroundMixin
PartialUpdateModelMixin, UploadMixin, DatasetMixin, BackupMixin
):
# NOTE: The search_fields attribute should be a list of names of text
# type fields on the model,such as CharField or TextField
Expand Down Expand Up @@ -930,7 +929,7 @@ def _get_chunk_response_headers(self, chunk_data: DataWithMeta) -> dict[str, str

class TaskViewSet(viewsets.GenericViewSet, mixins.ListModelMixin,
mixins.RetrieveModelMixin, mixins.CreateModelMixin, mixins.DestroyModelMixin,
PartialUpdateModelMixin, UploadMixin, DatasetMixin, BackupMixin, CsrfWorkaroundMixin
PartialUpdateModelMixin, UploadMixin, DatasetMixin, BackupMixin
):
queryset = Task.objects.select_related(
'data',
Expand Down Expand Up @@ -1884,7 +1883,7 @@ def validation_layout(self, request: ExtendedRequest, pk: int):
)
class JobViewSet(viewsets.GenericViewSet, mixins.ListModelMixin, mixins.CreateModelMixin,
mixins.RetrieveModelMixin, PartialUpdateModelMixin, mixins.DestroyModelMixin,
UploadMixin, DatasetMixin, CsrfWorkaroundMixin
UploadMixin, DatasetMixin
):
queryset = Job.objects.select_related('assignee', 'segment__task__data',
'segment__task__project', 'segment__task__annotation_guide', 'segment__task__project__annotation_guide',
Expand Down

0 comments on commit 4e68cff

Please sign in to comment.