Skip to content
Snippets Groups Projects
Commit 7ee53072 authored by Daniel Göbel's avatar Daniel Göbel
Browse files

Merge branch 'feature/21-add-developer-id-to-workflow-response' into 'development'

Resolve "Add developer ID to Workflow response"

Closes #21

See merge request !19
parents 28f4e5cd 7a37e790
No related branches found
No related tags found
2 merge requests!69Delete dev branch,!19Resolve "Add developer ID to Workflow response"
Pipeline #27618 passed
......@@ -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,
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment