Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CloWM Workflow Service
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Looking for advice? Join the
Matrix channel for GitLab users in Bielefeld
!
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Computational Metagenomics
CloWM
CloWM Workflow Service
Commits
7a37e790
Verified
Commit
7a37e790
authored
2 years ago
by
Daniel Göbel
Browse files
Options
Downloads
Patches
Plain Diff
Add developer ID to Workflow response
#21
parent
28f4e5cd
Loading
Loading
2 merge requests
!69
Delete dev branch
,
!19
Resolve "Add developer ID to Workflow response"
Pipeline
#27337
passed
2 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/schemas/workflow.py
+4
-0
4 additions, 0 deletions
app/schemas/workflow.py
with
4 additions
and
0 deletions
app/schemas/workflow.py
+
4
−
0
View file @
7a37e790
...
@@ -48,6 +48,9 @@ class WorkflowIn(_BaseWorkflow):
...
@@ -48,6 +48,9 @@ class WorkflowIn(_BaseWorkflow):
class
WorkflowOut
(
_BaseWorkflow
):
class
WorkflowOut
(
_BaseWorkflow
):
workflow_id
:
UUID
=
Field
(...,
description
=
"
Id of the workflow
"
,
example
=
"
0cc78936-381b-4bdd-999d-736c40591078
"
)
workflow_id
:
UUID
=
Field
(...,
description
=
"
Id of the workflow
"
,
example
=
"
0cc78936-381b-4bdd-999d-736c40591078
"
)
versions
:
list
[
WorkflowVersionReduced
]
=
Field
(...,
description
=
"
Versions of the workflow
"
)
versions
:
list
[
WorkflowVersionReduced
]
=
Field
(...,
description
=
"
Versions of the workflow
"
)
developer_id
:
str
=
Field
(
...,
description
=
"
Id of developer of the workflow
"
,
example
=
"
28c5353b8bb34984a8bd4169ba94c606
"
)
@staticmethod
@staticmethod
def
from_db_workflow
(
def
from_db_workflow
(
...
@@ -62,4 +65,5 @@ class WorkflowOut(_BaseWorkflow):
...
@@ -62,4 +65,5 @@ class WorkflowOut(_BaseWorkflow):
short_description
=
db_workflow
.
short_description
,
short_description
=
db_workflow
.
short_description
,
repository_url
=
db_workflow
.
repository_url
,
repository_url
=
db_workflow
.
repository_url
,
versions
=
temp_versions
,
versions
=
temp_versions
,
developer_id
=
db_workflow
.
developer_id
,
)
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment