File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 3333 TypeUseCaseOrganizationRelationship ,
3434 relationship_type ,
3535)
36- from api .utils .enums import OrganizationRelationshipType , UseCaseStatus
36+ from api .utils .enums import (
37+ OrganizationRelationshipType ,
38+ UseCaseRunningStatus ,
39+ UseCaseStatus ,
40+ )
3741from api .utils .graphql_telemetry import trace_resolver
3842from authorization .models import User
3943from authorization .types import TypeUser
@@ -60,7 +64,7 @@ class UpdateUseCaseMetadataInput:
6064 sectors : List [uuid .UUID ]
6165
6266
63- use_case_running_status = strawberry .enum (UseCaseStatus ) # type: ignore
67+ use_case_running_status = strawberry .enum (UseCaseRunningStatus ) # type: ignore
6468
6569
6670@strawberry_django .partial (UseCase , fields = "__all__" , exclude = ["datasets" ])
@@ -69,7 +73,7 @@ class UseCaseInputPartial:
6973
7074 id : str
7175 logo : Optional [Upload ] = strawberry .field (default = None )
72- running_status : Optional [use_case_running_status ] = UseCaseStatus . DRAFT
76+ running_status : Optional [use_case_running_status ] = UseCaseRunningStatus . INITIATED
7377 title : Optional [str ] = None
7478 summary : Optional [str ] = None
7579 platform_url : Optional [str ] = None
You can’t perform that action at this time.
0 commit comments