Skip to content

Commit e8bb682

Browse files
authored
Merge branch 'main' into e2e-tests
2 parents eec183b + 1e450a0 commit e8bb682

File tree

4 files changed

+0
-24
lines changed

4 files changed

+0
-24
lines changed

scaleway-async/scaleway_async/product_catalog/v2alpha1/api.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
ListPublicCatalogProductsRequestProductType,
1212
ListPublicCatalogProductsResponse,
1313
PublicCatalogProduct,
14-
PublicCatalogProductLocality,
1514
)
1615
from .marshalling import (
1716
unmarshal_ListPublicCatalogProductsResponse,
@@ -29,15 +28,13 @@ async def list_public_catalog_products(
2928
product_types: Optional[
3029
List[ListPublicCatalogProductsRequestProductType]
3130
] = None,
32-
locality: Optional[PublicCatalogProductLocality] = None,
3331
) -> ListPublicCatalogProductsResponse:
3432
"""
3533
List all available products.
3634
List all available products in the Scaleway catalog. Returns a complete list of products with their corresponding description, locations, prices and properties. You can define the `page` number and `page_size` for your query in the request.
3735
:param page: Number of the page. Value must be greater or equal to 1.
3836
:param page_size: The number of products per page. Value must be greater or equal to 1.
3937
:param product_types: The list of filtered product categories.
40-
:param locality: The locality of the products to filter by. If not set, all localities are returned.
4138
:return: :class:`ListPublicCatalogProductsResponse <ListPublicCatalogProductsResponse>`
4239
4340
Usage:
@@ -50,7 +47,6 @@ async def list_public_catalog_products(
5047
"GET",
5148
"/product-catalog/v2alpha1/public-catalog/products",
5249
params={
53-
"locality": locality,
5450
"page": page,
5551
"page_size": page_size or self.client.default_page_size,
5652
"product_types": product_types,
@@ -68,15 +64,13 @@ async def list_public_catalog_products_all(
6864
product_types: Optional[
6965
List[ListPublicCatalogProductsRequestProductType]
7066
] = None,
71-
locality: Optional[PublicCatalogProductLocality] = None,
7267
) -> List[PublicCatalogProduct]:
7368
"""
7469
List all available products.
7570
List all available products in the Scaleway catalog. Returns a complete list of products with their corresponding description, locations, prices and properties. You can define the `page` number and `page_size` for your query in the request.
7671
:param page: Number of the page. Value must be greater or equal to 1.
7772
:param page_size: The number of products per page. Value must be greater or equal to 1.
7873
:param product_types: The list of filtered product categories.
79-
:param locality: The locality of the products to filter by. If not set, all localities are returned.
8074
:return: :class:`List[PublicCatalogProduct] <List[PublicCatalogProduct]>`
8175
8276
Usage:
@@ -93,6 +87,5 @@ async def list_public_catalog_products_all(
9387
"page": page,
9488
"page_size": page_size,
9589
"product_types": product_types,
96-
"locality": locality,
9790
},
9891
)

scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,3 @@ class PublicCatalogApiListPublicCatalogProductsRequest:
432432
"""
433433
The list of filtered product categories.
434434
"""
435-
436-
locality: Optional[PublicCatalogProductLocality]
437-
"""
438-
The locality of the products to filter by. If not set, all localities are returned.
439-
"""

scaleway/scaleway/product_catalog/v2alpha1/api.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
ListPublicCatalogProductsRequestProductType,
1212
ListPublicCatalogProductsResponse,
1313
PublicCatalogProduct,
14-
PublicCatalogProductLocality,
1514
)
1615
from .marshalling import (
1716
unmarshal_ListPublicCatalogProductsResponse,
@@ -29,15 +28,13 @@ def list_public_catalog_products(
2928
product_types: Optional[
3029
List[ListPublicCatalogProductsRequestProductType]
3130
] = None,
32-
locality: Optional[PublicCatalogProductLocality] = None,
3331
) -> ListPublicCatalogProductsResponse:
3432
"""
3533
List all available products.
3634
List all available products in the Scaleway catalog. Returns a complete list of products with their corresponding description, locations, prices and properties. You can define the `page` number and `page_size` for your query in the request.
3735
:param page: Number of the page. Value must be greater or equal to 1.
3836
:param page_size: The number of products per page. Value must be greater or equal to 1.
3937
:param product_types: The list of filtered product categories.
40-
:param locality: The locality of the products to filter by. If not set, all localities are returned.
4138
:return: :class:`ListPublicCatalogProductsResponse <ListPublicCatalogProductsResponse>`
4239
4340
Usage:
@@ -50,7 +47,6 @@ def list_public_catalog_products(
5047
"GET",
5148
"/product-catalog/v2alpha1/public-catalog/products",
5249
params={
53-
"locality": locality,
5450
"page": page,
5551
"page_size": page_size or self.client.default_page_size,
5652
"product_types": product_types,
@@ -68,15 +64,13 @@ def list_public_catalog_products_all(
6864
product_types: Optional[
6965
List[ListPublicCatalogProductsRequestProductType]
7066
] = None,
71-
locality: Optional[PublicCatalogProductLocality] = None,
7267
) -> List[PublicCatalogProduct]:
7368
"""
7469
List all available products.
7570
List all available products in the Scaleway catalog. Returns a complete list of products with their corresponding description, locations, prices and properties. You can define the `page` number and `page_size` for your query in the request.
7671
:param page: Number of the page. Value must be greater or equal to 1.
7772
:param page_size: The number of products per page. Value must be greater or equal to 1.
7873
:param product_types: The list of filtered product categories.
79-
:param locality: The locality of the products to filter by. If not set, all localities are returned.
8074
:return: :class:`List[PublicCatalogProduct] <List[PublicCatalogProduct]>`
8175
8276
Usage:
@@ -93,6 +87,5 @@ def list_public_catalog_products_all(
9387
"page": page,
9488
"page_size": page_size,
9589
"product_types": product_types,
96-
"locality": locality,
9790
},
9891
)

scaleway/scaleway/product_catalog/v2alpha1/types.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,3 @@ class PublicCatalogApiListPublicCatalogProductsRequest:
432432
"""
433433
The list of filtered product categories.
434434
"""
435-
436-
locality: Optional[PublicCatalogProductLocality]
437-
"""
438-
The locality of the products to filter by. If not set, all localities are returned.
439-
"""

0 commit comments

Comments
 (0)