@@ -184,7 +184,7 @@ def list(
184
184
order : Literal ["name" ] | NotGiven = NOT_GIVEN ,
185
185
per_page : float | NotGiven = NOT_GIVEN ,
186
186
start_after : str | NotGiven = NOT_GIVEN ,
187
- cf_r2_jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
187
+ jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
188
188
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
189
189
# The extra values given here take precedence over values defined on the client or passed to this method.
190
190
extra_headers : Headers | None = None ,
@@ -212,7 +212,7 @@ def list(
212
212
213
213
start_after: Bucket name to start searching after. Buckets are ordered lexicographically.
214
214
215
- cf_r2_jurisdiction : Lists buckets in the provided jurisdiction
215
+ jurisdiction : Lists buckets in the provided jurisdiction
216
216
217
217
extra_headers: Send extra headers
218
218
@@ -225,9 +225,7 @@ def list(
225
225
if not account_id :
226
226
raise ValueError (f"Expected a non-empty value for `account_id` but received { account_id !r} " )
227
227
extra_headers = {
228
- ** strip_not_given (
229
- {"cf-r2-jurisdiction" : str (cf_r2_jurisdiction ) if is_given (cf_r2_jurisdiction ) else NOT_GIVEN }
230
- ),
228
+ ** strip_not_given ({"cf-r2-jurisdiction" : str (jurisdiction ) if is_given (jurisdiction ) else NOT_GIVEN }),
231
229
** (extra_headers or {}),
232
230
}
233
231
return self ._get (
@@ -473,7 +471,7 @@ async def list(
473
471
order : Literal ["name" ] | NotGiven = NOT_GIVEN ,
474
472
per_page : float | NotGiven = NOT_GIVEN ,
475
473
start_after : str | NotGiven = NOT_GIVEN ,
476
- cf_r2_jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
474
+ jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
477
475
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
478
476
# The extra values given here take precedence over values defined on the client or passed to this method.
479
477
extra_headers : Headers | None = None ,
@@ -501,7 +499,7 @@ async def list(
501
499
502
500
start_after: Bucket name to start searching after. Buckets are ordered lexicographically.
503
501
504
- cf_r2_jurisdiction : Lists buckets in the provided jurisdiction
502
+ jurisdiction : Lists buckets in the provided jurisdiction
505
503
506
504
extra_headers: Send extra headers
507
505
@@ -514,9 +512,7 @@ async def list(
514
512
if not account_id :
515
513
raise ValueError (f"Expected a non-empty value for `account_id` but received { account_id !r} " )
516
514
extra_headers = {
517
- ** strip_not_given (
518
- {"cf-r2-jurisdiction" : str (cf_r2_jurisdiction ) if is_given (cf_r2_jurisdiction ) else NOT_GIVEN }
519
- ),
515
+ ** strip_not_given ({"cf-r2-jurisdiction" : str (jurisdiction ) if is_given (jurisdiction ) else NOT_GIVEN }),
520
516
** (extra_headers or {}),
521
517
}
522
518
return await self ._get (
0 commit comments