Skip to content

Commit 33e0e96

Browse files
KanakanajmNXXR
andauthored
Update api/src/api/app/models/scenario.py
Co-authored-by: Moritz Zeumer <[email protected]>
1 parent fbedee8 commit 33e0e96

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

api/src/api/app/models/scenario.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,9 @@ class Scenario(BaseModel):
4747
percentiles: Optional[List[StrictInt]] = Field(default=[50], description="List of available percentiles for this scenario", alias="percentiles")
4848
timestamp_submitted: Optional[datetime] = Field(default=None, alias="timestampSubmitted", description="Timestamp when the scenario was added/created")
4949
timestamp_simulated: Optional[datetime] = Field(default=None, alias="timestampSimulated", description="Timestamp when the scenario was finished simulating and data is available")
50-
__properties: ClassVar[List[str]] = ["id", "name", "description", "startDate", "endDate", "modelId", "modelParameters", "nodeListId", "linkedInterventions", "percentiles", "timestampSubmitted", "timestampSimulated"]
51-
52-
creator_user_id: Optional[str] = None
53-
creator_org_id: Optional[str] = None
54-
50+
creator_user_id: Optional[str] = Field(default=None, alias="creatorUserId", description="ID of the user who submitted the scenario")
51+
creator_org_id: Optional[str] = Field(default=None, alias="creatorOrgId", description="ID of the organization the submitting user belongs to")
52+
__properties: ClassVar[List[str]] = ["id", "name", "description", "startDate", "endDate", "modelId", "modelParameters", "nodeListId", "linkedInterventions", "percentiles", "timestampSubmitted", "timestampSimulated", "creatorUserId", "creatorOrgId"]
5553
model_config = {
5654
"populate_by_name": True,
5755
"validate_assignment": True,

0 commit comments

Comments
 (0)