From f83eb5c92d32bf0b2272fc4bb80cbc7ff86839a2 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Fri, 20 Jun 2025 12:01:46 +0000 Subject: [PATCH] feat: update generated APIs --- .../scaleway_async/product_catalog/v2alpha1/api.py | 7 ------- .../scaleway_async/product_catalog/v2alpha1/types.py | 5 ----- scaleway/scaleway/product_catalog/v2alpha1/api.py | 7 ------- scaleway/scaleway/product_catalog/v2alpha1/types.py | 5 ----- 4 files changed, 24 deletions(-) diff --git a/scaleway-async/scaleway_async/product_catalog/v2alpha1/api.py b/scaleway-async/scaleway_async/product_catalog/v2alpha1/api.py index 019e198fa..7c082f1f1 100644 --- a/scaleway-async/scaleway_async/product_catalog/v2alpha1/api.py +++ b/scaleway-async/scaleway_async/product_catalog/v2alpha1/api.py @@ -11,7 +11,6 @@ ListPublicCatalogProductsRequestProductType, ListPublicCatalogProductsResponse, PublicCatalogProduct, - PublicCatalogProductLocality, ) from .marshalling import ( unmarshal_ListPublicCatalogProductsResponse, @@ -29,7 +28,6 @@ async def list_public_catalog_products( product_types: Optional[ List[ListPublicCatalogProductsRequestProductType] ] = None, - locality: Optional[PublicCatalogProductLocality] = None, ) -> ListPublicCatalogProductsResponse: """ List all available products. @@ -37,7 +35,6 @@ async def list_public_catalog_products( :param page: Number of the page. Value must be greater or equal to 1. :param page_size: The number of products per page. Value must be greater or equal to 1. :param product_types: The list of filtered product categories. - :param locality: The locality of the products to filter by. If not set, all localities are returned. :return: :class:`ListPublicCatalogProductsResponse ` Usage: @@ -50,7 +47,6 @@ async def list_public_catalog_products( "GET", "/product-catalog/v2alpha1/public-catalog/products", params={ - "locality": locality, "page": page, "page_size": page_size or self.client.default_page_size, "product_types": product_types, @@ -68,7 +64,6 @@ async def list_public_catalog_products_all( product_types: Optional[ List[ListPublicCatalogProductsRequestProductType] ] = None, - locality: Optional[PublicCatalogProductLocality] = None, ) -> List[PublicCatalogProduct]: """ List all available products. @@ -76,7 +71,6 @@ async def list_public_catalog_products_all( :param page: Number of the page. Value must be greater or equal to 1. :param page_size: The number of products per page. Value must be greater or equal to 1. :param product_types: The list of filtered product categories. - :param locality: The locality of the products to filter by. If not set, all localities are returned. :return: :class:`List[PublicCatalogProduct] ` Usage: @@ -93,6 +87,5 @@ async def list_public_catalog_products_all( "page": page, "page_size": page_size, "product_types": product_types, - "locality": locality, }, ) diff --git a/scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py b/scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py index 79cefcbc0..b7f1948a9 100644 --- a/scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py +++ b/scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py @@ -432,8 +432,3 @@ class PublicCatalogApiListPublicCatalogProductsRequest: """ The list of filtered product categories. """ - - locality: Optional[PublicCatalogProductLocality] - """ - The locality of the products to filter by. If not set, all localities are returned. - """ diff --git a/scaleway/scaleway/product_catalog/v2alpha1/api.py b/scaleway/scaleway/product_catalog/v2alpha1/api.py index 8eac6a3fc..181de4a0a 100644 --- a/scaleway/scaleway/product_catalog/v2alpha1/api.py +++ b/scaleway/scaleway/product_catalog/v2alpha1/api.py @@ -11,7 +11,6 @@ ListPublicCatalogProductsRequestProductType, ListPublicCatalogProductsResponse, PublicCatalogProduct, - PublicCatalogProductLocality, ) from .marshalling import ( unmarshal_ListPublicCatalogProductsResponse, @@ -29,7 +28,6 @@ def list_public_catalog_products( product_types: Optional[ List[ListPublicCatalogProductsRequestProductType] ] = None, - locality: Optional[PublicCatalogProductLocality] = None, ) -> ListPublicCatalogProductsResponse: """ List all available products. @@ -37,7 +35,6 @@ def list_public_catalog_products( :param page: Number of the page. Value must be greater or equal to 1. :param page_size: The number of products per page. Value must be greater or equal to 1. :param product_types: The list of filtered product categories. - :param locality: The locality of the products to filter by. If not set, all localities are returned. :return: :class:`ListPublicCatalogProductsResponse ` Usage: @@ -50,7 +47,6 @@ def list_public_catalog_products( "GET", "/product-catalog/v2alpha1/public-catalog/products", params={ - "locality": locality, "page": page, "page_size": page_size or self.client.default_page_size, "product_types": product_types, @@ -68,7 +64,6 @@ def list_public_catalog_products_all( product_types: Optional[ List[ListPublicCatalogProductsRequestProductType] ] = None, - locality: Optional[PublicCatalogProductLocality] = None, ) -> List[PublicCatalogProduct]: """ List all available products. @@ -76,7 +71,6 @@ def list_public_catalog_products_all( :param page: Number of the page. Value must be greater or equal to 1. :param page_size: The number of products per page. Value must be greater or equal to 1. :param product_types: The list of filtered product categories. - :param locality: The locality of the products to filter by. If not set, all localities are returned. :return: :class:`List[PublicCatalogProduct] ` Usage: @@ -93,6 +87,5 @@ def list_public_catalog_products_all( "page": page, "page_size": page_size, "product_types": product_types, - "locality": locality, }, ) diff --git a/scaleway/scaleway/product_catalog/v2alpha1/types.py b/scaleway/scaleway/product_catalog/v2alpha1/types.py index 79cefcbc0..b7f1948a9 100644 --- a/scaleway/scaleway/product_catalog/v2alpha1/types.py +++ b/scaleway/scaleway/product_catalog/v2alpha1/types.py @@ -432,8 +432,3 @@ class PublicCatalogApiListPublicCatalogProductsRequest: """ The list of filtered product categories. """ - - locality: Optional[PublicCatalogProductLocality] - """ - The locality of the products to filter by. If not set, all localities are returned. - """