@@ -184,7 +184,7 @@ def list(
184184 order : Literal ["name" ] | NotGiven = NOT_GIVEN ,
185185 per_page : float | NotGiven = NOT_GIVEN ,
186186 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 ,
188188 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
189189 # The extra values given here take precedence over values defined on the client or passed to this method.
190190 extra_headers : Headers | None = None ,
@@ -212,7 +212,7 @@ def list(
212212
213213 start_after: Bucket name to start searching after. Buckets are ordered lexicographically.
214214
215- cf_r2_jurisdiction : Lists buckets in the provided jurisdiction
215+ jurisdiction : Lists buckets in the provided jurisdiction
216216
217217 extra_headers: Send extra headers
218218
@@ -225,9 +225,7 @@ def list(
225225 if not account_id :
226226 raise ValueError (f"Expected a non-empty value for `account_id` but received { account_id !r} " )
227227 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 }),
231229 ** (extra_headers or {}),
232230 }
233231 return self ._get (
@@ -473,7 +471,7 @@ async def list(
473471 order : Literal ["name" ] | NotGiven = NOT_GIVEN ,
474472 per_page : float | NotGiven = NOT_GIVEN ,
475473 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 ,
477475 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
478476 # The extra values given here take precedence over values defined on the client or passed to this method.
479477 extra_headers : Headers | None = None ,
@@ -501,7 +499,7 @@ async def list(
501499
502500 start_after: Bucket name to start searching after. Buckets are ordered lexicographically.
503501
504- cf_r2_jurisdiction : Lists buckets in the provided jurisdiction
502+ jurisdiction : Lists buckets in the provided jurisdiction
505503
506504 extra_headers: Send extra headers
507505
@@ -514,9 +512,7 @@ async def list(
514512 if not account_id :
515513 raise ValueError (f"Expected a non-empty value for `account_id` but received { account_id !r} " )
516514 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 }),
520516 ** (extra_headers or {}),
521517 }
522518 return await self ._get (
0 commit comments