-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rest: add include_command flag to get_workflow and get_workflow_status endpoints #536
rest: add include_command flag to get_workflow and get_workflow_status endpoints #536
Conversation
85a0e13
to
5cfd227
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #536 +/- ##
==========================================
- Coverage 72.23% 71.55% -0.68%
==========================================
Files 15 15
Lines 1390 1406 +16
==========================================
+ Hits 1004 1006 +2
- Misses 386 400 +14
|
6181379
to
39bd12a
Compare
39bd12a
to
eaaa5b8
Compare
include_last_command = json.loads( | ||
request.args.get("include_last_command", "false").lower() | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about validating and parsing parameters with use_args
, as done in the other endpoint?
5778363
to
8618891
Compare
CHANGES.rst
Outdated
Version 0.9.2 (UNRELEASED) | ||
-------------------------- | ||
|
||
- Changes ``get_workflow_status``, ``get_workflows`` endpoints to add a ``include_command`` optional parameter to show info about currently executing command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Changes ``get_workflow_status``, ``get_workflows`` endpoints to add a ``include_command`` optional parameter to show info about currently executing command. | |
- Changes ``get_workflow_status``, ``get_workflows`` endpoints to add a ``include_last_command`` optional parameter to show info about currently executing command. |
requirements.txt
Outdated
@@ -52,8 +52,8 @@ pyrsistent==0.19.3 # via jsonschema | |||
python-dateutil==2.8.2 # via bravado, bravado-core, kubernetes | |||
pytz==2023.3.post1 # via bravado-core | |||
pyyaml==6.0.1 # via bravado, bravado-core, kubernetes, reana-commons, swagger-spec-validator | |||
reana-commons[kubernetes]==0.9.4a2 # via reana-commons, reana-db, reana-workflow-controller (setup.py) | |||
reana-db==0.9.2 # via reana-workflow-controller (setup.py) | |||
reana-commons[kubernetes]==0.9.4a2 # via reana-commons, reana-db, reana-workflow-controller (setup.py) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reana-commons[kubernetes]==0.9.4a2 # via reana-commons, reana-db, reana-workflow-controller (setup.py) | |
reana-commons[kubernetes]==0.9.4a3 # via reana-commons, reana-db, reana-workflow-controller (setup.py) |
8618891
to
9a6b388
Compare
No need to change API after performance improvements of reanahub/reana-db#213 |
installation: bump shared modules
rest: add include_command flag to get_workflow endpoints
Closes rest: optimise
include_progress
functionality #486.