-
Notifications
You must be signed in to change notification settings - Fork 9
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
chore: refactor init and extract Query API #93
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #93 +/- ##
==========================================
+ Coverage 49.38% 49.75% +0.37%
==========================================
Files 31 32 +1
Lines 2019 2034 +15
==========================================
+ Hits 997 1012 +15
Misses 1022 1022 ☔ View full report in Codecov by Sentry. |
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.
Tests pass locally. Before approving I would like clarification on the __init__
signature of the new QueryAPI
class. influxdb3_client_3/query/query_api.py:29
. There is a **kwargs
parameter, that is not documented and not used. If it is not intended for future use, could it be removed, otherwise could it be added to the code documentation?
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.
Looks Good.
Proposed Changes
Extracts Query API from the client core in a way similar to Write API. Does not change client public API. The motivation is easier/better maintenance and extending in the future.
Checklist