Skip to content

Commit 5601d25

Browse files
author
Mehdi BEN ABDALLAH
committed
docs: update example
1 parent d6ff7b3 commit 5601d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/buckets_management.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
List all Buckets
3737
"""
3838
print(f"\n------- List -------\n")
39-
buckets = buckets_api.find_buckets().buckets
39+
buckets = buckets_api.find_buckets_iter()
4040
print("\n".join([f" ---\n ID: {bucket.id}\n Name: {bucket.name}\n Retention: {bucket.retention_rules}"
4141
for bucket in buckets]))
4242
print("---")

0 commit comments

Comments
 (0)