-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
feat: Add session states API #7162
Conversation
}, | ||
} | ||
|
||
@sessions_blueprint.route('/states') |
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.
expected 2 blank lines, found 1
app/api/sessions.py
Outdated
@@ -209,10 +211,14 @@ def query(self, view_kwargs): | |||
'confirmed': {'withdrawn': True}, | |||
'rejected': {'withdrawn': True}, | |||
'canceled': {'withdrawn': True}, | |||
'withdrawn': {'pending': True}, | |||
'withdrawn': {}, # Withdrawn is final |
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.
at least two spaces before inline comment
app/api/sessions.py
Outdated
@@ -200,7 +202,7 @@ def query(self, view_kwargs): | |||
'rejected': True, | |||
'confirmed': True, | |||
}, | |||
'withdrawn': {'accepted': True, 'rejected': True, 'confirmed': True}, | |||
'withdrawn': {}, # Withdrawn is final |
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.
at least two spaces before inline comment
Codecov Report
@@ Coverage Diff @@
## development #7162 +/- ##
============================================
Coverage 62.86% 62.87%
============================================
Files 259 259
Lines 12985 12990 +5
============================================
+ Hits 8163 8167 +4
- Misses 4822 4823 +1
Continue to review full report at Codecov.
|
This pull request introduces 1 alert when merging 104658f into 78cdfeb - view on LGTM.com new alerts:
|
Fixes #7149