diff --git a/CHANGELOG.md b/CHANGELOG.md index 249f243e..fb86dbad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ ### Features 1. [#203](https://github.com/influxdata/influxdb-client-python/pull/203): Allow configuring client via TOML file. +### API +1. [#209](https://github.com/influxdata/influxdb-client-python/pull/209): Allow setting shard-group durations for buckets via API + ### Documentation 1. [#202](https://github.com/influxdata/influxdb-client-python/pull/202): Added an example how to use RxPY and sync batching diff --git a/tests/test_BucketsApi.py b/tests/test_BucketsApi.py index a528bf03..768e002d 100644 --- a/tests/test_BucketsApi.py +++ b/tests/test_BucketsApi.py @@ -71,9 +71,8 @@ def test_create_bucket_retention_list(self): bucket_name = generate_bucket_name() - retention = BucketRetentionRules ret_list = [] - retention.every_seconds = 3600 + retention = BucketRetentionRules(every_seconds=3600) retention.type = "expire" ret_list.append(retention)