Skip to content

feat: add Async version of the InfluxDB client #413

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

Merged
merged 46 commits into from
Mar 28, 2022
Merged

feat: add Async version of the InfluxDB client #413

merged 46 commits into from
Mar 28, 2022

Conversation

bednar
Copy link
Contributor

@bednar bednar commented Mar 3, 2022

Closes #205

Proposed Changes

  1. Added async version of the InfluxDB client
  2. Added async version of functions into generated APIs

For more info see:

image

Screenshot 2022-03-09 at 8 09 29

Screenshot 2022-03-09 at 8 09 43

image

image

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • A test has been added if appropriate
  • pytest tests completes successfully
  • Commit messages are in semantic format
  • Sign CLA (if not already signed)

@codecov-commenter
Copy link

codecov-commenter commented Mar 3, 2022

Codecov Report

Merging #413 (b1f2e5d) into master (4fc41d2) will decrease coverage by 4.62%.
The diff coverage is 79.81%.

@@            Coverage Diff             @@
##           master     #413      +/-   ##
==========================================
- Coverage   92.74%   88.11%   -4.63%     
==========================================
  Files          31       38       +7     
  Lines        2604     3197     +593     
==========================================
+ Hits         2415     2817     +402     
- Misses        189      380     +191     
Impacted Files Coverage Δ
influxdb_client/__init__.py 100.00% <ø> (ø)
influxdb_client/_async/api_client.py 46.44% <46.44%> (ø)
influxdb_client/_async/rest.py 66.14% <66.14%> (ø)
influxdb_client/_sync/rest.py 86.20% <86.20%> (ø)
influxdb_client/client/influxdb_client_async.py 89.13% <89.13%> (ø)
influxdb_client/client/_base.py 98.05% <98.05%> (ø)
influxdb_client/_sync/api_client.py 69.28% <100.00%> (ø)
influxdb_client/client/delete_api.py 100.00% <100.00%> (ø)
influxdb_client/client/delete_api_async.py 100.00% <100.00%> (ø)
influxdb_client/client/flux_csv_parser.py 98.29% <100.00%> (+0.21%) ⬆️
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4fc41d2...b1f2e5d. Read the comment docs.

@bednar bednar marked this pull request as ready for review March 5, 2022 13:36
@bednar bednar marked this pull request as draft March 5, 2022 13:36
@bednar bednar marked this pull request as ready for review March 15, 2022 09:27
@bednar bednar requested a review from rhajek March 15, 2022 09:27
@bednar bednar merged commit 20c867d into master Mar 28, 2022
@bednar bednar deleted the asyncio branch March 28, 2022 07:44
@bednar bednar added this to the 1.28.0 milestone Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide coroutine based Api for asynchronous operations
3 participants