From caff6eebc9ab65fa07e6ec00b70f77839280d40a Mon Sep 17 00:00:00 2001 From: Roman Donchenko Date: Fri, 6 Dec 2024 16:43:15 +0200 Subject: [PATCH] Remove ModelDeleteMixin from TasksRepo base classes (#8786) 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. --- cvat-sdk/cvat_sdk/core/proxies/tasks.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cvat-sdk/cvat_sdk/core/proxies/tasks.py b/cvat-sdk/cvat_sdk/core/proxies/tasks.py index e0db111f8511..9654399bc8ce 100644 --- a/cvat-sdk/cvat_sdk/core/proxies/tasks.py +++ b/cvat-sdk/cvat_sdk/core/proxies/tasks.py @@ -286,7 +286,6 @@ class TasksRepo( ModelCreateMixin[Task, models.ITaskWriteRequest], ModelRetrieveMixin[Task], ModelListMixin[Task], - ModelDeleteMixin, ): _entity_type = Task