-
Notifications
You must be signed in to change notification settings - Fork 188
fix: return str
instead of urllib3.HTTPResponse
for `InfluxDBClie...
#606
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
Conversation
6ae3a67
to
0a4ae41
Compare
Codecov Report
All modified and coverable lines are covered by tests ✅
Comparison is base (
2f9e5ed
) 90.30% compared to head (0a4ae41
) 90.31%.
Report is 8 commits behind head on master.
❗ Current head 0a4ae41 differs from pull request most recent head a05c5b0. Consider uploading reports for the commit a05c5b0 to get more accurate results
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@ Coverage Diff @@ ## master #606 +/- ## ======================================= Coverage 90.30% 90.31% ======================================= Files 39 39 Lines 3456 3458 +2 ======================================= + Hits 3121 3123 +2 Misses 335 335
☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.
I had to use .data
, using .read
function with debug resulted with a bug when the response already read by the debugger it returned an empty string.
I'd have to check it is not the case with the async function.
Ready for review
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.
Hi @jules-ch,
Thank you for your PR. Could you please update the CHANGELOG.md to indicate that this is a breaking change and provide guidance on how users should address it?
Thanks!
Do you need me to introduce this as a BREAKING CHANGE.
Just want to wonfirm this, since the function was not returning the documented type in the first place.
I'll document it as a Breaking change for now
f024155
to
cb5ff71
Compare
...nt.QueryAPI.query_raw`
cb5ff71
to
f0c7ef4
Compare
CI is failing because of a problem on CircleCI I think. Pipeline needs to be triggered again.
Closes #569
Proposed Changes
As it is done in the Async version of the client, return
str
response data as per the documentation.Checklist
pytest tests
completes successfully