File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/models-library/src/models_library/api_schemas_dynamic_sidecar Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1- from enum import StrEnum , auto
1+ from enum import auto
22
33from models_library .projects import ProjectID
44from models_library .projects_nodes_io import NodeID
55from models_library .services_types import ServicePortKey
6+ from models_library .utils .enums import StrAutoEnum
67from pydantic import BaseModel
78
89
9- class OutputStatus (StrEnum ):
10+ class OutputStatus (StrAutoEnum ):
1011 UPLOAD_STARTED = auto ()
1112 UPLOAD_WAS_ABORTED = auto ()
1213 UPLOAD_FINISHED_SUCCESSFULLY = auto ()
1314 UPLOAD_FINISHED_WITH_ERRROR = auto ()
1415
1516
16- class InputStatus (StrEnum ):
17+ class InputStatus (StrAutoEnum ):
1718 DOWNLOAD_STARTED = auto ()
1819 DOWNLOAD_WAS_ABORTED = auto ()
1920 DOWNLOAD_FINISHED_SUCCESSFULLY = auto ()
You can’t perform that action at this time.
0 commit comments