Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jules-ch/influxdb-client-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: influxdata/influxdb-client-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.

Commits on Nov 29, 2023

  1. Copy the full SHA
    0c60b5d View commit details

Commits on Dec 5, 2023

  1. Copy the full SHA
    512e330 View commit details
  2. Copy the full SHA
    eb5afd1 View commit details

Commits on Jan 4, 2024

  1. fix: prevent creating unnecessary threads repeatedly (influxdata#562)

    * fix: prevent creating unnecessary threads repeatedly
    
    Use ThreadPoolScheduler for WriteApi batch subject instead of TimeoutScheduler.
    
    Fixes influxdata#561
    
    * docs: Update CHANGELOG.md
    
    * docs: update CHANGELOG.md
    
    ---------
    
    Co-authored-by: Jakub Bednář <jakub.bednar@gmail.com>
    goznauk and bednar authored Jan 4, 2024
    Copy the full SHA
    8286f45 View commit details
  2. feat: Add __eq__ implementation to class Point (influxdata#625)

    * feat: Add `__eq__` implementation to class Point
    
    * docs: Add Changelog Entry
    
    * docs: Update CHANGELOG.md
    
    ---------
    
    Co-authored-by: Jakub Bednář <jakub.bednar@gmail.com>
    hf-kklein and bednar authored Jan 4, 2024
    Copy the full SHA
    024c1b1 View commit details

Commits on Jan 11, 2024

  1. chore(deps-dev): bump jinja2 from 3.1.2 to 3.1.3 (influxdata#627)

    Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3.
    - [Release notes](https://github.com/pallets/jinja/releases)
    - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
    - [Commits](pallets/jinja@3.1.2...3.1.3)
    
    ---
    updated-dependencies:
    - dependency-name: jinja2
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 11, 2024
    Copy the full SHA
    d7181fa View commit details

Commits on Jan 29, 2024

  1. fix: logging http requests without query parameters (influxdata#631)

    * fix: logging http requests without query parameters
    
    * docs: update CHANGELOG.md
    bednar authored Jan 29, 2024
    Copy the full SHA
    4f1ab87 View commit details
  2. fix: render README.rst at GitHub (influxdata#635)

    * fix: render README.rst at GitHub
    
    Removed unsupported text role :class:. For more info see https://docutils.sourceforge.io/docs/ref/rst/roles.html
    
    * docs: update CHANGELOG.md
    bednar authored Jan 29, 2024
    Copy the full SHA
    17c7876 View commit details

Commits on Jan 30, 2024

  1. Copy the full SHA
    903d9b7 View commit details
  2. Copy the full SHA
    27777d1 View commit details

Commits on Jan 31, 2024

  1. fix: handle null values in data (influxdata#636)

    * fix: handle null values in Flux data
    
    * test: add tests for null value handling and extension dtypes
    
    * test: fix failures with empty warnings cases
    
    * test: comment out dtype some extra assertion until solved
    
    * test: skip extension dtypes test on pythn 3.7
    
    * fix: single place of dtypes conversion
    
    * fix: bump pandas dependency version
    
    * docs: update CHANGELOG
    
    * chore(build): trigger CI/CD pipeline
    
    * fix: add use_extension_dtypes also to async query API methods
    alespour authored Jan 31, 2024
    Copy the full SHA
    7a5f655 View commit details

Commits on Feb 1, 2024

  1. Copy the full SHA
    2d91db5 View commit details

Commits on Feb 2, 2024

  1. docs: use markdown instead of rst (influxdata#639)

    * docs: use markdown instead of rst
    
    * docs: use markdown instead of rst
    
    * fix: generating HTML for pydoc
    
    * fix: generating HTML for pydoc
    
    * docs: update CHANGELOG.md
    bednar authored Feb 2, 2024
    Copy the full SHA
    293ed7f View commit details

Commits on Feb 6, 2024

  1. fix: Pandas 3.0 warning for inplace method (influxdata#642)

    * silence pandas 3.0 warning
    
    * add to changelog
    
    * docs: Update CHANGELOG.md
    
    ---------
    
    Co-authored-by: Jakub Bednář <jakub.bednar@gmail.com>
    lars20070 and bednar authored Feb 6, 2024
    Copy the full SHA
    ed89701 View commit details

Commits on Feb 29, 2024

  1. Copy the full SHA
    2661e4d View commit details
  2. chore(deps): bump sphinx-rtd-theme from 1.3.0 to 2.0.0 (influxdata#618)

    Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 1.3.0 to 2.0.0.
    - [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
    - [Commits](readthedocs/sphinx_rtd_theme@1.3.0...2.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: sphinx-rtd-theme
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 29, 2024
    Copy the full SHA
    e82b016 View commit details
  3. Copy the full SHA
    c430620 View commit details

Commits on Mar 1, 2024

  1. Copy the full SHA
    45c105f View commit details
  2. Copy the full SHA
    a645ea9 View commit details

Commits on Apr 16, 2024

  1. Copy the full SHA
    e2cb42e View commit details

Commits on Apr 17, 2024

  1. Copy the full SHA
    131ac06 View commit details
  2. Copy the full SHA
    550ff26 View commit details

Commits on May 9, 2024

  1. Copy the full SHA
    0047fa9 View commit details

Commits on May 14, 2024

  1. Copy the full SHA
    08acb17 View commit details

Commits on May 15, 2024

  1. Copy the full SHA
    51d6fa4 View commit details

Commits on May 17, 2024

  1. Copy the full SHA
    83322a3 View commit details
  2. Copy the full SHA
    d2393e0 View commit details

Commits on May 20, 2024

  1. perf: Prefer datetime.fromisoformat over dateutil.parse in Python 3.1…

    …1+ (influxdata#657)
    
    * perf: Prefer datetime.fromisoformat over dateutil.parse in Python 3.11+
    
    * docs: Add PR to changelog
    
    * docs: Update CHANGELOG.md
    
    ---------
    
    Co-authored-by: Jakub Bednář <jakub.bednar@gmail.com>
    n-thumann and bednar authored May 20, 2024
    Copy the full SHA
    73849e7 View commit details

Commits on May 28, 2024

  1. feat: bucket pagination (influxdata#658)

    * feat: support buckets pagination
    
    * docs: update example
    
    * docs: add changelog entry
    
    * Update CHANGELOG.md
    
    Co-authored-by: Jakub Bednář <jakub.bednar@gmail.com>
    
    * encapsulate pagination
    
    ---------
    
    Co-authored-by: Mehdi BEN ABDALLAH <@mbenabda>
    Co-authored-by: Jakub Bednář <jakub.bednar@gmail.com>
    mbenabda and bednar authored May 28, 2024
    Copy the full SHA
    6798be4 View commit details

Commits on Jun 24, 2024

  1. Copy the full SHA
    bd0eff2 View commit details
  2. Copy the full SHA
    b844a82 View commit details

Commits on Jun 26, 2024

  1. Copy the full SHA
    653af46 View commit details

Commits on Aug 9, 2024

  1. fix(write-api): accept 201 response to write (influxdata#663)

    InfluxDB v3 will soon return 201 or 204, in cases where InfluxDB v1 and v2 only return 204.
    jacobmarble authored Aug 9, 2024
    Copy the full SHA
    74a0fbf View commit details

Commits on Aug 12, 2024

  1. Copy the full SHA
    db1630d View commit details
  2. Copy the full SHA
    0dcc35b View commit details
  3. fix: multiprocessing example (influxdata#664)

    * fix: multiprocessing example
    
    * docs: update CHANGELOG.md
    bednar authored Aug 12, 2024
    Copy the full SHA
    45e6607 View commit details

Commits on Aug 21, 2024

  1. Copy the full SHA
    7ad9533 View commit details

Commits on Sep 2, 2024

  1. Copy the full SHA
    63949b5 View commit details

Commits on Sep 13, 2024

  1. Copy the full SHA
    dfd815d View commit details
  2. Copy the full SHA
    70ce8cb View commit details

Commits on Sep 24, 2024

  1. Copy the full SHA
    3d70dbd View commit details

Commits on Oct 8, 2024

  1. Copy the full SHA
    28a4a04 View commit details

Commits on Oct 9, 2024

  1. fix: async write prec where DEFAULT_PRECISION should not be used (inf…

    …luxdata#675)
    
    * fix: (WIP) issue 669 write precision to default in async API
    
    * chore: fix lint issues
    
    * docs: update CHANGELOG.md
    
    * chore: improve indexing of range
    karel-rehor authored Oct 9, 2024
    Copy the full SHA
    7e01edb View commit details

Commits on Oct 22, 2024

  1. Copy the full SHA
    06b7114 View commit details
  2. Copy the full SHA
    012c50a View commit details

Commits on Nov 25, 2024

  1. fix: catch CancelledError and TimeoutError and add note about timeout (

    …influxdata#679)
    
    * chore: add explanatory note to CancelledError.
    
    * docs: update CHANGELOG.md and README.md
    
    * chore: remove import of asyncio in non-async API
    karel-rehor authored Nov 25, 2024
    Copy the full SHA
    44dd00e View commit details

Commits on Nov 27, 2024

  1. Copy the full SHA
    c8d806f View commit details
  2. Copy the full SHA
    2d0adb9 View commit details

Commits on Dec 4, 2024

  1. chore: add type checks for Authorization with new example. (influxdat…

    …a#682)
    
    * chore: add type checks for Authorization with new example.
    
    * docs: update CHANGELOG.md and examples/README.md
    karel-rehor authored Dec 4, 2024
    Copy the full SHA
    ab16384 View commit details

Commits on Feb 15, 2025

  1. Copy the full SHA
    7401356 View commit details
Showing with 2,955 additions and 1,900 deletions.
  1. +4 −0 .circleci/config.yml
  2. +87 −1 CHANGELOG.md
  3. +1,548 −0 README.md
  4. +0 −1,657 README.rst
  5. +3 −3 conda/meta.yaml
  6. +2 −2 docs/conf.py
  7. +4 −4 docs/development.rst
  8. +4 −3 docs/index.rst
  9. +2 −1 docs/requirements.txt
  10. +48 −36 docs/usage.rst
  11. +2 −0 examples/README.md
  12. +1 −1 examples/asynchronous.py
  13. +103 −0 examples/authorizations.py
  14. +1 −1 examples/buckets_management.py
  15. +3 −3 examples/example.py
  16. +126 −0 examples/http_error_handling.py
  17. +65 −64 examples/import_data_set_multiprocessing.py
  18. +3 −2 examples/influx_cloud.py
  19. +1 −1 examples/logging_handler.py
  20. +6 −0 examples/task_example.py
  21. +2 −2 examples/write_structured_data.py
  22. +1 −1 influxdb_client/_sync/rest.py
  23. +14 −6 influxdb_client/client/_base.py
  24. +66 −0 influxdb_client/client/_pages.py
  25. +3 −1 influxdb_client/client/authorizations_api.py
  26. +13 −0 influxdb_client/client/bucket_api.py
  27. +6 −1 influxdb_client/client/exceptions.py
  28. +18 −6 influxdb_client/client/flux_csv_parser.py
  29. +2 −2 influxdb_client/client/flux_table.py
  30. +2 −2 influxdb_client/client/influxdb_client.py
  31. +18 −4 influxdb_client/client/query_api.py
  32. +16 −4 influxdb_client/client/query_api_async.py
  33. +15 −1 influxdb_client/client/tasks_api.py
  34. +7 −2 influxdb_client/client/util/date_utils.py
  35. +14 −21 influxdb_client/client/write/dataframe_serializer.py
  36. +13 −1 influxdb_client/client/write/point.py
  37. +9 −1 influxdb_client/client/write_api.py
  38. +18 −9 influxdb_client/client/write_api_async.py
  39. +4 −0 influxdb_client/domain/authorization.py
  40. 0 influxdb_client/py.typed
  41. +5 −2 influxdb_client/rest.py
  42. +1 −1 influxdb_client/version.py
  43. +5 −5 scripts/ci-test.sh
  44. +8 −11 setup.py
  45. +19 −0 tests/test_AuthorizationApi.py
  46. +43 −4 tests/test_BucketsApi.py
  47. +128 −3 tests/test_FluxCSVParser.py
  48. +44 −2 tests/test_InfluxDBClient.py
  49. +162 −16 tests/test_InfluxDBClientAsync.py
  50. +3 −3 tests/test_MultiprocessingWriter.py
  51. +1 −1 tests/test_PandasDateTimeHelper.py
  52. +79 −5 tests/test_QueryApiDataFrame.py
  53. +31 −0 tests/test_TasksApi.py
  54. +1 −0 tests/test_Warnings.py
  55. +37 −0 tests/test_WriteApi.py
  56. +30 −4 tests/test_WriteApiDataFrame.py
  57. +104 −0 tests/test_point.py
4 changes: 4 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -153,6 +153,7 @@ jobs:
pip install sphinx==1.8.5 --user
pip install sphinx_rtd_theme --user
pip install jinja2==3.0.3 --user
pip install myst_parser>=0.19.2--user
cd docs
python -m sphinx -T -E -b html -d _build/doctrees -D language=en . _build/html
check-aws-lambda-layer:
@@ -201,6 +202,9 @@ workflows:
- tests-python:
name: test-3.11
python-image: "cimg/python:3.11"
- tests-python:
name: test-3.12
python-image: "cimg/python:3.12"

nightly:
when:
88 changes: 87 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,90 @@
## 1.39.0 [unreleased]
## 1.49.0 [unreleased]

### Bug Fixes

1. [#682](https://github.com/influxdata/influxdb-client-python/pull/682): Check core types when creating Authentication instances.

### Examples

1. [#682](https://github.com/influxdata/influxdb-client-python/pull/682): New example for working with Authentication API.

## 1.48.0 [2024-11-27]

### Bug Fixes

1. [#679](https://github.com/influxdata/influxdb-client-python/pull/679): Add note to caught errors about need to check client timeout.

## 1.47.0 [2024-10-22]

### Bug Fixes

1. [#672](https://github.com/influxdata/influxdb-client-python/pull/672): Adding type validation to url attribute in client object
2. [#674](https://github.com/influxdata/influxdb-client-python/pull/674): Add type linting to client.flux_table.FluxTable, remove duplicated `from pathlib import Path` at setup.py
3. [#675](https://github.com/influxdata/influxdb-client-python/pull/675): Ensures WritePrecision in Point is preferred to `DEFAULT_PRECISION`

## 1.46.0 [2024-09-13]

### Bug Fixes
1. [#667](https://github.com/influxdata/influxdb-client-python/pull/667): Missing `py.typed` in distribution package

### Examples:
1. [#664](https://github.com/influxdata/influxdb-client-python/pull/664/): Multiprocessing example uses new source of data
1. [#665](https://github.com/influxdata/influxdb-client-python/pull/665): Shows how to leverage header fields in errors returned on write.

## 1.45.0 [2024-08-12]

### Bug Fixes
1. [#652](https://github.com/influxdata/influxdb-client-python/pull/652): Refactor to `timezone` specific `datetime` helpers to avoid use deprecated functions
1. [#663](https://github.com/influxdata/influxdb-client-python/pull/663): Accept HTTP 201 response to write request

## 1.44.0 [2024-06-24]

### Features
1. [#657](https://github.com/influxdata/influxdb-client-python/pull/657): Prefer datetime.fromisoformat over dateutil.parse in Python 3.11+
1. [#658](https://github.com/influxdata/influxdb-client-python/pull/658): Add `find_buckets_iter` function that allow iterate through all pages of buckets.

## 1.43.0 [2024-05-17]

### Bug Fixes
1. [#655](https://github.com/influxdata/influxdb-client-python/pull/655): Replace deprecated `urllib` calls `HTTPResponse.getheaders()` and `HTTPResponse.getheader()`.

### Others
1. [#654](https://github.com/influxdata/influxdb-client-python/pull/654): Enable packaging type information - `py.typed`

## 1.42.0 [2024-04-17]

### Bug Fixes
1. [#648](https://github.com/influxdata/influxdb-client-python/pull/648): Fix `DataFrame` serialization with `NaN` values

## 1.41.0 [2024-03-01]

### Features
1. [#643](https://github.com/influxdata/influxdb-client-python/pull/643): Add a support for Python 3.12

### Bug Fixes
1. [#636](https://github.com/influxdata/influxdb-client-python/pull/636): Handle missing data in data frames
1. [#638](https://github.com/influxdata/influxdb-client-python/pull/638), [#642](https://github.com/influxdata/influxdb-client-python/pull/642): Refactor DataFrame operations to avoid chained assignment and resolve FutureWarning in pandas, ensuring compatibility with pandas 3.0.
1. [#641](https://github.com/influxdata/influxdb-client-python/pull/641): Correctly dispose ThreadPoolScheduler in WriteApi

### Documentation
1. [#639](https://github.com/influxdata/influxdb-client-python/pull/639): Use Markdown for `README`

## 1.40.0 [2024-01-30]

### Features
1. [#625](https://github.com/influxdata/influxdb-client-python/pull/625): Make class `Point` equatable

### Bug Fixes
1. [#562](https://github.com/influxdata/influxdb-client-python/pull/562): Use `ThreadPoolScheduler` for `WriteApi`'s batch subject instead of `TimeoutScheduler` to prevent creating unnecessary threads repeatedly
1. [#631](https://github.com/influxdata/influxdb-client-python/pull/631): Logging HTTP requests without query parameters

### Documentation
1. [#635](https://github.com/influxdata/influxdb-client-python/pull/635): Fix render `README.rst` at GitHub

## 1.39.0 [2023-12-05]

### Features
1. [#616](https://github.com/influxdata/influxdb-client-python/pull/616): Add `find_tasks_iter` function that allow iterate through all pages of tasks.

## 1.38.0 [2023-10-02]

Loading