influxdata / influxdb-client-python

InfluxDB 2.0 python client
https://influxdb-client.readthedocs.io/en/stable/
MIT License
724 stars 187 forks source link

feat: task pagination #616

Closed Sciator closed 1 year ago

Sciator commented 1 year ago

Closes #614

Proposed Changes

added tasks_api.find_tasks_iter

Checklist

Sciator commented 1 year ago

Currently creates one more request than needed. Better identification of last page needed

codecov-commenter commented 1 year ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (2f9e5ed) 90.30% compared to head (ae2c18b) 90.35%.

Files Patch % Lines
influxdb_client/client/tasks_api.py 94.59% 2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #616 +/- ## ========================================== + Coverage 90.30% 90.35% +0.04% ========================================== Files 39 39 Lines 3456 3493 +37 ========================================== + Hits 3121 3156 +35 - Misses 335 337 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.