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 33
33
TypeUseCaseOrganizationRelationship ,
34
34
relationship_type ,
35
35
)
36
- from api .utils .enums import OrganizationRelationshipType , UseCaseStatus
36
+ from api .utils .enums import (
37
+ OrganizationRelationshipType ,
38
+ UseCaseRunningStatus ,
39
+ UseCaseStatus ,
40
+ )
37
41
from api .utils .graphql_telemetry import trace_resolver
38
42
from authorization .models import User
39
43
from authorization .types import TypeUser
@@ -60,7 +64,7 @@ class UpdateUseCaseMetadataInput:
60
64
sectors : List [uuid .UUID ]
61
65
62
66
63
- use_case_running_status = strawberry .enum (UseCaseStatus ) # type: ignore
67
+ use_case_running_status = strawberry .enum (UseCaseRunningStatus ) # type: ignore
64
68
65
69
66
70
@strawberry_django .partial (UseCase , fields = "__all__" , exclude = ["datasets" ])
@@ -69,7 +73,7 @@ class UseCaseInputPartial:
69
73
70
74
id : str
71
75
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
73
77
title : Optional [str ] = None
74
78
summary : Optional [str ] = None
75
79
platform_url : Optional [str ] = None
You can’t perform that action at this time.
0 commit comments