-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add default for UWS version - Issue #198 #199
Conversation
Codecov Report
@@ Coverage Diff @@
## master #199 +/- ##
=======================================
Coverage 70.81% 70.81%
=======================================
Files 37 37
Lines 3910 3910
=======================================
Hits 2769 2769
Misses 1141 1141
Continue to review full report at Codecov.
|
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.
The code changes look good to me. I've tested the branch against a service.run_async
query that was previously failing, and that works fine now.
Minor nits only: one inline, plus I feel like the last two commits could be squashed.
pyvo/io/uws/endpoint.py
Outdated
self._version = data.get('version') | ||
# Default to v1.0 since the version attribute | ||
# was not required until version 1.1. | ||
self._version = data.get('version', "1.0") |
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.
Minor stylistic point that single quotes and double quotes are used in the same line of code.
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.
I made the requested changes and squashed the commits.
Add changelog Correct PR # in changelog Fix flake8 errors Style changes from review
dfeda09
to
1286544
Compare
🎉 |
No description provided.