Skip to content

Commit e57814d

Browse files
committed
✨ Update ProjectJobRpcGet and ProjectJobDBGet models to include workbench structure and fix schema update method
1 parent a98e329 commit e57814d

File tree

1 file changed

+0
-20
lines changed
  • packages/models-library/src/models_library/rpc/webserver

1 file changed

+0
-20
lines changed

packages/models-library/src/models_library/rpc/webserver/projects.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -54,26 +54,6 @@ def _update_json_schema_extra(schema: JsonDict) -> None:
5454
}
5555
)
5656

57-
# Specific to jobs
58-
job_parent_resource_name: str
59-
60-
@staticmethod
61-
def _update_json_schema_extra(schema: JsonDict) -> None:
62-
schema.update(
63-
{
64-
"examples": [
65-
{
66-
"uuid": "12345678-1234-5678-1234-123456789012",
67-
"name": "My project",
68-
"description": "My project description",
69-
"creation_date": "2023-01-01T00:00:00Z",
70-
"last_change_date": "2023-01-01T00:00:00Z",
71-
"job_parent_resource_name": "solvers/foo/release/1.2.3",
72-
"workbench": {},
73-
},
74-
]
75-
}
76-
)
7757

7858
model_config = ConfigDict(
7959
extra="forbid",

0 commit comments

Comments
 (0)