diff --git a/app/schemas/workflow.py b/app/schemas/workflow.py index 824e0bb7bfaa6be2587dc2f7239500a1dc647471..e9982a004c3e25f2fd4d2f06bf718b1c528d2985 100644 --- a/app/schemas/workflow.py +++ b/app/schemas/workflow.py @@ -48,6 +48,9 @@ class WorkflowIn(_BaseWorkflow): class WorkflowOut(_BaseWorkflow): workflow_id: UUID = Field(..., description="Id of the workflow", example="0cc78936-381b-4bdd-999d-736c40591078") versions: list[WorkflowVersionReduced] = Field(..., description="Versions of the workflow") + developer_id: str = Field( + ..., description="Id of developer of the workflow", example="28c5353b8bb34984a8bd4169ba94c606" + ) @staticmethod def from_db_workflow( @@ -62,4 +65,5 @@ class WorkflowOut(_BaseWorkflow): short_description=db_workflow.short_description, repository_url=db_workflow.repository_url, versions=temp_versions, + developer_id=db_workflow.developer_id, )