Skip to content

Commit f91925b

Browse files
Add includeExistingFiles field to docstrings
1 parent c71d0d7 commit f91925b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

b2sdk/bucket.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,13 +1021,15 @@ def from_api_bucket_dict(cls, api, bucket_dict):
10211021
{
10221022
"destinationBucketId": "c5f35d53a90a7ea284fb0719",
10231023
"fileNamePrefix": "",
1024+
"includeExistingFiles": True,
10241025
"isEnabled": true,
10251026
"priority": 1,
10261027
"replicationRuleName": "replication-us-west"
10271028
},
10281029
{
10291030
"destinationBucketId": "55f34d53a96a7ea284fb0719",
10301031
"fileNamePrefix": "",
1032+
"includeExistingFiles": True,
10311033
"isEnabled": true,
10321034
"priority": 2,
10331035
"replicationRuleName": "replication-us-west-2"

b2sdk/replication/setting.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,15 @@ def as_dict(self) -> dict:
154154
{
155155
"destinationBucketId": "c5f35d53a90a7ea284fb0719",
156156
"fileNamePrefix": "",
157+
"includeExistingFiles": True,
157158
"isEnabled": true,
158159
"priority": 1,
159160
"replicationRuleName": "replication-us-west"
160161
},
161162
{
162163
"destinationBucketId": "55f34d53a96a7ea284fb0719",
163164
"fileNamePrefix": "",
165+
"includeExistingFiles": True,
164166
"isEnabled": true,
165167
"priority": 2,
166168
"replicationRuleName": "replication-us-west-2"

0 commit comments

Comments
 (0)