diff --git a/src/api/src/backend/serializers/FunctionTaskSerializer.py b/src/api/src/backend/serializers/FunctionTaskSerializer.py index 5d0ceb9a..1c437dc3 100644 --- a/src/api/src/backend/serializers/FunctionTaskSerializer.py +++ b/src/api/src/backend/serializers/FunctionTaskSerializer.py @@ -1,5 +1,6 @@ from backend.serializers import BaseTaskSerializer + class FunctionTaskSerializer: @staticmethod def serialize(model, base=None): diff --git a/src/api/src/backend/serializers/TaskSerializer.py b/src/api/src/backend/serializers/TaskSerializer.py index 9e7b11a1..43e6ee3d 100644 --- a/src/api/src/backend/serializers/TaskSerializer.py +++ b/src/api/src/backend/serializers/TaskSerializer.py @@ -1,7 +1,5 @@ -from backend.serializers import ( - FunctionTaskSerializer, - BaseTaskSerializer, -) +from backend.serializers.BaseTaskSerializer import BaseTaskSerializer +from backend.serializers.FunctionTaskSerializer import FunctionTaskSerializer from backend.models import TASK_TYPE_FUNCTION class TaskSerializer: