From 1c4a77cd15dc9fa4cbd3c23e89260f51226fd9e7 Mon Sep 17 00:00:00 2001 From: Alexey Timin Date: Sun, 29 Dec 2024 09:59:30 +0100 Subject: [PATCH] update python example --- docs/examples/py/src/data_replication_create.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples/py/src/data_replication_create.py b/docs/examples/py/src/data_replication_create.py index d8b8c696..bf4bb7c1 100644 --- a/docs/examples/py/src/data_replication_create.py +++ b/docs/examples/py/src/data_replication_create.py @@ -14,9 +14,9 @@ async def main(): src_bucket="my-bucket", dst_bucket="demo", dst_host="https://play.reduct.store", - dst_api_token="reductstore", + dst_token="reductstore", entries=["py-example"], - include={"anomaly": "1"}, + when= {"&anomaly": {"$eq": 1}}, ) await client.create_replication("my-replication", replication_settings)