Skip to content

Commit

Permalink
Remove ModelDeleteMixin from TasksRepo base classes (cvat-ai#8786)
Browse files Browse the repository at this point in the history
This mixin is for entities, not repositories. Presumably it was added by
mistake.

The `remove` method it adds doesn't work on a repository, so removing it
doesn't break anything.
  • Loading branch information
SpecLad authored Dec 6, 2024
1 parent ca3d700 commit caff6ee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cvat-sdk/cvat_sdk/core/proxies/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ class TasksRepo(
ModelCreateMixin[Task, models.ITaskWriteRequest],
ModelRetrieveMixin[Task],
ModelListMixin[Task],
ModelDeleteMixin,
):
_entity_type = Task

Expand Down

0 comments on commit caff6ee

Please sign in to comment.