2424 make_request_options ,
2525)
2626from ....types .images .v1 import (
27- ImageVariant ,
28- ImageVariants ,
27+ V1ImageVariant ,
28+ V1ImageVariants ,
2929 VariantDeleteResponse ,
3030 variant_edit_params ,
3131 variant_create_params ,
@@ -56,7 +56,7 @@ def create(
5656 extra_query : Query | None = None ,
5757 extra_body : Body | None = None ,
5858 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
59- ) -> ImageVariant :
59+ ) -> V1ImageVariant :
6060 """
6161 Specify variants that allow you to resize images for different use cases.
6262
@@ -95,7 +95,7 @@ def create(
9595 timeout = timeout ,
9696 post_parser = ResultWrapper ._unwrapper ,
9797 ),
98- cast_to = cast (Type [ImageVariant ], ResultWrapper [ImageVariant ]),
98+ cast_to = cast (Type [V1ImageVariant ], ResultWrapper [V1ImageVariant ]),
9999 )
100100
101101 def list (
@@ -108,7 +108,7 @@ def list(
108108 extra_query : Query | None = None ,
109109 extra_body : Body | None = None ,
110110 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
111- ) -> ImageVariants :
111+ ) -> V1ImageVariants :
112112 """
113113 Lists existing variants.
114114
@@ -134,7 +134,7 @@ def list(
134134 timeout = timeout ,
135135 post_parser = ResultWrapper ._unwrapper ,
136136 ),
137- cast_to = cast (Type [ImageVariants ], ResultWrapper [ImageVariants ]),
137+ cast_to = cast (Type [V1ImageVariants ], ResultWrapper [V1ImageVariants ]),
138138 )
139139
140140 def delete (
@@ -197,7 +197,7 @@ def edit(
197197 extra_query : Query | None = None ,
198198 extra_body : Body | None = None ,
199199 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
200- ) -> ImageVariant :
200+ ) -> V1ImageVariant :
201201 """
202202 Updating a variant purges the cache for all images associated with the variant.
203203
@@ -237,7 +237,7 @@ def edit(
237237 timeout = timeout ,
238238 post_parser = ResultWrapper ._unwrapper ,
239239 ),
240- cast_to = cast (Type [ImageVariant ], ResultWrapper [ImageVariant ]),
240+ cast_to = cast (Type [V1ImageVariant ], ResultWrapper [V1ImageVariant ]),
241241 )
242242
243243 def get (
@@ -251,7 +251,7 @@ def get(
251251 extra_query : Query | None = None ,
252252 extra_body : Body | None = None ,
253253 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
254- ) -> ImageVariant :
254+ ) -> V1ImageVariant :
255255 """
256256 Fetch details for a single variant.
257257
@@ -279,7 +279,7 @@ def get(
279279 timeout = timeout ,
280280 post_parser = ResultWrapper ._unwrapper ,
281281 ),
282- cast_to = cast (Type [ImageVariant ], ResultWrapper [ImageVariant ]),
282+ cast_to = cast (Type [V1ImageVariant ], ResultWrapper [V1ImageVariant ]),
283283 )
284284
285285
@@ -305,7 +305,7 @@ async def create(
305305 extra_query : Query | None = None ,
306306 extra_body : Body | None = None ,
307307 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
308- ) -> ImageVariant :
308+ ) -> V1ImageVariant :
309309 """
310310 Specify variants that allow you to resize images for different use cases.
311311
@@ -344,7 +344,7 @@ async def create(
344344 timeout = timeout ,
345345 post_parser = ResultWrapper ._unwrapper ,
346346 ),
347- cast_to = cast (Type [ImageVariant ], ResultWrapper [ImageVariant ]),
347+ cast_to = cast (Type [V1ImageVariant ], ResultWrapper [V1ImageVariant ]),
348348 )
349349
350350 async def list (
@@ -357,7 +357,7 @@ async def list(
357357 extra_query : Query | None = None ,
358358 extra_body : Body | None = None ,
359359 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
360- ) -> ImageVariants :
360+ ) -> V1ImageVariants :
361361 """
362362 Lists existing variants.
363363
@@ -383,7 +383,7 @@ async def list(
383383 timeout = timeout ,
384384 post_parser = ResultWrapper ._unwrapper ,
385385 ),
386- cast_to = cast (Type [ImageVariants ], ResultWrapper [ImageVariants ]),
386+ cast_to = cast (Type [V1ImageVariants ], ResultWrapper [V1ImageVariants ]),
387387 )
388388
389389 async def delete (
@@ -446,7 +446,7 @@ async def edit(
446446 extra_query : Query | None = None ,
447447 extra_body : Body | None = None ,
448448 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
449- ) -> ImageVariant :
449+ ) -> V1ImageVariant :
450450 """
451451 Updating a variant purges the cache for all images associated with the variant.
452452
@@ -486,7 +486,7 @@ async def edit(
486486 timeout = timeout ,
487487 post_parser = ResultWrapper ._unwrapper ,
488488 ),
489- cast_to = cast (Type [ImageVariant ], ResultWrapper [ImageVariant ]),
489+ cast_to = cast (Type [V1ImageVariant ], ResultWrapper [V1ImageVariant ]),
490490 )
491491
492492 async def get (
@@ -500,7 +500,7 @@ async def get(
500500 extra_query : Query | None = None ,
501501 extra_body : Body | None = None ,
502502 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
503- ) -> ImageVariant :
503+ ) -> V1ImageVariant :
504504 """
505505 Fetch details for a single variant.
506506
@@ -528,7 +528,7 @@ async def get(
528528 timeout = timeout ,
529529 post_parser = ResultWrapper ._unwrapper ,
530530 ),
531- cast_to = cast (Type [ImageVariant ], ResultWrapper [ImageVariant ]),
531+ cast_to = cast (Type [V1ImageVariant ], ResultWrapper [V1ImageVariant ]),
532532 )
533533
534534
0 commit comments