From e866d01ea03b14f85f498bda05a5513719bf207d Mon Sep 17 00:00:00 2001 From: Jonathan Remy Date: Thu, 21 May 2026 05:55:16 +0200 Subject: [PATCH] feat(messageq): remove version filter from list deployments --- scaleway-async/scaleway_async/messageq/v1alpha1/api.py | 6 ------ scaleway-async/scaleway_async/messageq/v1alpha1/types.py | 5 ----- scaleway/scaleway/messageq/v1alpha1/api.py | 6 ------ scaleway/scaleway/messageq/v1alpha1/types.py | 5 ----- 4 files changed, 22 deletions(-) diff --git a/scaleway-async/scaleway_async/messageq/v1alpha1/api.py b/scaleway-async/scaleway_async/messageq/v1alpha1/api.py index 5f7ce9fbd..c21821e83 100644 --- a/scaleway-async/scaleway_async/messageq/v1alpha1/api.py +++ b/scaleway-async/scaleway_async/messageq/v1alpha1/api.py @@ -339,7 +339,6 @@ async def list_deployments( page_size: Optional[int] = None, tags: Optional[list[str]] = None, name: Optional[str] = None, - version: Optional[str] = None, ) -> ListDeploymentsResponse: """ Retrieve a list of MessageQ deployments. @@ -351,7 +350,6 @@ async def list_deployments( :param page_size: Number of deployments to return per page. :param tags: Tags to filter for, only deployments with one or more matching tags will be returned. :param name: Deployment name to filter for, only deployments with this string within their name will be returned. - :param version: Engine version to filter for, only deployments with this version will be returned. :return: :class:`ListDeploymentsResponse ` Usage: @@ -376,7 +374,6 @@ async def list_deployments( "page_size": page_size or self.client.default_page_size, "project_id": project_id or self.client.default_project_id, "tags": tags, - "version": version, }, ) @@ -394,7 +391,6 @@ async def list_deployments_all( page_size: Optional[int] = None, tags: Optional[list[str]] = None, name: Optional[str] = None, - version: Optional[str] = None, ) -> list[Deployment]: """ Retrieve a list of MessageQ deployments. @@ -406,7 +402,6 @@ async def list_deployments_all( :param page_size: Number of deployments to return per page. :param tags: Tags to filter for, only deployments with one or more matching tags will be returned. :param name: Deployment name to filter for, only deployments with this string within their name will be returned. - :param version: Engine version to filter for, only deployments with this version will be returned. :return: :class:`list[Deployment] ` Usage: @@ -428,7 +423,6 @@ async def list_deployments_all( "page_size": page_size, "tags": tags, "name": name, - "version": version, }, ) diff --git a/scaleway-async/scaleway_async/messageq/v1alpha1/types.py b/scaleway-async/scaleway_async/messageq/v1alpha1/types.py index 643b33cd7..67912e6bf 100644 --- a/scaleway-async/scaleway_async/messageq/v1alpha1/types.py +++ b/scaleway-async/scaleway_async/messageq/v1alpha1/types.py @@ -549,11 +549,6 @@ class ListDeploymentsRequest: Deployment name to filter for, only deployments with this string within their name will be returned. """ - version: Optional[str] = None - """ - Engine version to filter for, only deployments with this version will be returned. - """ - @dataclass class ListDeploymentsResponse: diff --git a/scaleway/scaleway/messageq/v1alpha1/api.py b/scaleway/scaleway/messageq/v1alpha1/api.py index b3af1e6f7..b975d9e8a 100644 --- a/scaleway/scaleway/messageq/v1alpha1/api.py +++ b/scaleway/scaleway/messageq/v1alpha1/api.py @@ -337,7 +337,6 @@ def list_deployments( page_size: Optional[int] = None, tags: Optional[list[str]] = None, name: Optional[str] = None, - version: Optional[str] = None, ) -> ListDeploymentsResponse: """ Retrieve a list of MessageQ deployments. @@ -349,7 +348,6 @@ def list_deployments( :param page_size: Number of deployments to return per page. :param tags: Tags to filter for, only deployments with one or more matching tags will be returned. :param name: Deployment name to filter for, only deployments with this string within their name will be returned. - :param version: Engine version to filter for, only deployments with this version will be returned. :return: :class:`ListDeploymentsResponse ` Usage: @@ -374,7 +372,6 @@ def list_deployments( "page_size": page_size or self.client.default_page_size, "project_id": project_id or self.client.default_project_id, "tags": tags, - "version": version, }, ) @@ -392,7 +389,6 @@ def list_deployments_all( page_size: Optional[int] = None, tags: Optional[list[str]] = None, name: Optional[str] = None, - version: Optional[str] = None, ) -> list[Deployment]: """ Retrieve a list of MessageQ deployments. @@ -404,7 +400,6 @@ def list_deployments_all( :param page_size: Number of deployments to return per page. :param tags: Tags to filter for, only deployments with one or more matching tags will be returned. :param name: Deployment name to filter for, only deployments with this string within their name will be returned. - :param version: Engine version to filter for, only deployments with this version will be returned. :return: :class:`list[Deployment] ` Usage: @@ -426,7 +421,6 @@ def list_deployments_all( "page_size": page_size, "tags": tags, "name": name, - "version": version, }, ) diff --git a/scaleway/scaleway/messageq/v1alpha1/types.py b/scaleway/scaleway/messageq/v1alpha1/types.py index 643b33cd7..67912e6bf 100644 --- a/scaleway/scaleway/messageq/v1alpha1/types.py +++ b/scaleway/scaleway/messageq/v1alpha1/types.py @@ -549,11 +549,6 @@ class ListDeploymentsRequest: Deployment name to filter for, only deployments with this string within their name will be returned. """ - version: Optional[str] = None - """ - Engine version to filter for, only deployments with this version will be returned. - """ - @dataclass class ListDeploymentsResponse: