diff --git a/scaleway-async/scaleway_async/container/v1beta1/api.py b/scaleway-async/scaleway_async/container/v1beta1/api.py index b85f183fe..d18814452 100644 --- a/scaleway-async/scaleway_async/container/v1beta1/api.py +++ b/scaleway-async/scaleway_async/container/v1beta1/api.py @@ -1098,14 +1098,15 @@ async def list_logs( order_by: ListLogsRequestOrderBy = ListLogsRequestOrderBy.TIMESTAMP_DESC, ) -> ListLogsResponse: """ - List your container logs. - List the logs of the container with the specified ID. + Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List your container logs. + Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List the logs of the container with the specified ID. :param region: Region to target. If none is passed will use default region from the config. :param container_id: UUID of the container. :param page: Page number. :param page_size: Number of logs per page. :param order_by: Order of the logs. :return: :class:`ListLogsResponse ` + :deprecated Usage: :: @@ -1141,14 +1142,15 @@ async def list_logs_all( order_by: Optional[ListLogsRequestOrderBy] = None, ) -> List[Log]: """ - List your container logs. - List the logs of the container with the specified ID. + Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List your container logs. + Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List the logs of the container with the specified ID. :param region: Region to target. If none is passed will use default region from the config. :param container_id: UUID of the container. :param page: Page number. :param page_size: Number of logs per page. :param order_by: Order of the logs. :return: :class:`List[ListLogsResponse] ` + :deprecated Usage: :: diff --git a/scaleway-async/scaleway_async/container/v1beta1/marshalling.py b/scaleway-async/scaleway_async/container/v1beta1/marshalling.py index 8e6bbe9c3..213a5920d 100644 --- a/scaleway-async/scaleway_async/container/v1beta1/marshalling.py +++ b/scaleway-async/scaleway_async/container/v1beta1/marshalling.py @@ -821,27 +821,33 @@ def marshal_CreateTriggerRequest( [ OneOfPossibility( "scw_sqs_config", - marshal_CreateTriggerRequestMnqSqsClientConfig( - request.scw_sqs_config, defaults - ) - if request.scw_sqs_config is not None - else None, + ( + marshal_CreateTriggerRequestMnqSqsClientConfig( + request.scw_sqs_config, defaults + ) + if request.scw_sqs_config is not None + else None + ), ), OneOfPossibility( "scw_nats_config", - marshal_CreateTriggerRequestMnqNatsClientConfig( - request.scw_nats_config, defaults - ) - if request.scw_nats_config is not None - else None, + ( + marshal_CreateTriggerRequestMnqNatsClientConfig( + request.scw_nats_config, defaults + ) + if request.scw_nats_config is not None + else None + ), ), OneOfPossibility( "sqs_config", - marshal_CreateTriggerRequestSqsClientConfig( - request.sqs_config, defaults - ) - if request.sqs_config is not None - else None, + ( + marshal_CreateTriggerRequestSqsClientConfig( + request.sqs_config, defaults + ) + if request.sqs_config is not None + else None + ), ), ] ), @@ -966,11 +972,13 @@ def marshal_UpdateTriggerRequest( [ OneOfPossibility( "sqs_config", - marshal_UpdateTriggerRequestSqsClientConfig( - request.sqs_config, defaults - ) - if request.sqs_config is not None - else None, + ( + marshal_UpdateTriggerRequestSqsClientConfig( + request.sqs_config, defaults + ) + if request.sqs_config is not None + else None + ), ), ] ), diff --git a/scaleway-async/scaleway_async/function/v1beta1/api.py b/scaleway-async/scaleway_async/function/v1beta1/api.py index 2ec89ba07..ca90c4bf3 100644 --- a/scaleway-async/scaleway_async/function/v1beta1/api.py +++ b/scaleway-async/scaleway_async/function/v1beta1/api.py @@ -1187,14 +1187,15 @@ async def list_logs( order_by: ListLogsRequestOrderBy = ListLogsRequestOrderBy.TIMESTAMP_DESC, ) -> ListLogsResponse: """ - List application logs. - List the application logs of the function with the specified ID. + Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List application logs. + Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List the application logs of the function with the specified ID. :param region: Region to target. If none is passed will use default region from the config. :param function_id: UUID of the function to get the logs for. :param page: Page number. :param page_size: Number of logs per page. :param order_by: Order of the logs. :return: :class:`ListLogsResponse ` + :deprecated Usage: :: @@ -1230,14 +1231,15 @@ async def list_logs_all( order_by: Optional[ListLogsRequestOrderBy] = None, ) -> List[Log]: """ - List application logs. - List the application logs of the function with the specified ID. + Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List application logs. + Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List the application logs of the function with the specified ID. :param region: Region to target. If none is passed will use default region from the config. :param function_id: UUID of the function to get the logs for. :param page: Page number. :param page_size: Number of logs per page. :param order_by: Order of the logs. :return: :class:`List[ListLogsResponse] ` + :deprecated Usage: :: diff --git a/scaleway-async/scaleway_async/function/v1beta1/marshalling.py b/scaleway-async/scaleway_async/function/v1beta1/marshalling.py index 258fa8437..a326d5956 100644 --- a/scaleway-async/scaleway_async/function/v1beta1/marshalling.py +++ b/scaleway-async/scaleway_async/function/v1beta1/marshalling.py @@ -910,27 +910,33 @@ def marshal_CreateTriggerRequest( [ OneOfPossibility( "scw_sqs_config", - marshal_CreateTriggerRequestMnqSqsClientConfig( - request.scw_sqs_config, defaults - ) - if request.scw_sqs_config is not None - else None, + ( + marshal_CreateTriggerRequestMnqSqsClientConfig( + request.scw_sqs_config, defaults + ) + if request.scw_sqs_config is not None + else None + ), ), OneOfPossibility( "scw_nats_config", - marshal_CreateTriggerRequestMnqNatsClientConfig( - request.scw_nats_config, defaults - ) - if request.scw_nats_config is not None - else None, + ( + marshal_CreateTriggerRequestMnqNatsClientConfig( + request.scw_nats_config, defaults + ) + if request.scw_nats_config is not None + else None + ), ), OneOfPossibility( "sqs_config", - marshal_CreateTriggerRequestSqsClientConfig( - request.sqs_config, defaults - ) - if request.sqs_config is not None - else None, + ( + marshal_CreateTriggerRequestSqsClientConfig( + request.sqs_config, defaults + ) + if request.sqs_config is not None + else None + ), ), ] ), @@ -1046,11 +1052,13 @@ def marshal_UpdateTriggerRequest( [ OneOfPossibility( "sqs_config", - marshal_UpdateTriggerRequestSqsClientConfig( - request.sqs_config, defaults - ) - if request.sqs_config is not None - else None, + ( + marshal_UpdateTriggerRequestSqsClientConfig( + request.sqs_config, defaults + ) + if request.sqs_config is not None + else None + ), ), ] ), diff --git a/scaleway/scaleway/container/v1beta1/api.py b/scaleway/scaleway/container/v1beta1/api.py index b9810ecbd..9fe5a5931 100644 --- a/scaleway/scaleway/container/v1beta1/api.py +++ b/scaleway/scaleway/container/v1beta1/api.py @@ -1094,14 +1094,15 @@ def list_logs( order_by: ListLogsRequestOrderBy = ListLogsRequestOrderBy.TIMESTAMP_DESC, ) -> ListLogsResponse: """ - List your container logs. - List the logs of the container with the specified ID. + Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List your container logs. + Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List the logs of the container with the specified ID. :param region: Region to target. If none is passed will use default region from the config. :param container_id: UUID of the container. :param page: Page number. :param page_size: Number of logs per page. :param order_by: Order of the logs. :return: :class:`ListLogsResponse ` + :deprecated Usage: :: @@ -1137,14 +1138,15 @@ def list_logs_all( order_by: Optional[ListLogsRequestOrderBy] = None, ) -> List[Log]: """ - List your container logs. - List the logs of the container with the specified ID. + Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List your container logs. + Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List the logs of the container with the specified ID. :param region: Region to target. If none is passed will use default region from the config. :param container_id: UUID of the container. :param page: Page number. :param page_size: Number of logs per page. :param order_by: Order of the logs. :return: :class:`List[ListLogsResponse] ` + :deprecated Usage: :: diff --git a/scaleway/scaleway/container/v1beta1/marshalling.py b/scaleway/scaleway/container/v1beta1/marshalling.py index 8e6bbe9c3..213a5920d 100644 --- a/scaleway/scaleway/container/v1beta1/marshalling.py +++ b/scaleway/scaleway/container/v1beta1/marshalling.py @@ -821,27 +821,33 @@ def marshal_CreateTriggerRequest( [ OneOfPossibility( "scw_sqs_config", - marshal_CreateTriggerRequestMnqSqsClientConfig( - request.scw_sqs_config, defaults - ) - if request.scw_sqs_config is not None - else None, + ( + marshal_CreateTriggerRequestMnqSqsClientConfig( + request.scw_sqs_config, defaults + ) + if request.scw_sqs_config is not None + else None + ), ), OneOfPossibility( "scw_nats_config", - marshal_CreateTriggerRequestMnqNatsClientConfig( - request.scw_nats_config, defaults - ) - if request.scw_nats_config is not None - else None, + ( + marshal_CreateTriggerRequestMnqNatsClientConfig( + request.scw_nats_config, defaults + ) + if request.scw_nats_config is not None + else None + ), ), OneOfPossibility( "sqs_config", - marshal_CreateTriggerRequestSqsClientConfig( - request.sqs_config, defaults - ) - if request.sqs_config is not None - else None, + ( + marshal_CreateTriggerRequestSqsClientConfig( + request.sqs_config, defaults + ) + if request.sqs_config is not None + else None + ), ), ] ), @@ -966,11 +972,13 @@ def marshal_UpdateTriggerRequest( [ OneOfPossibility( "sqs_config", - marshal_UpdateTriggerRequestSqsClientConfig( - request.sqs_config, defaults - ) - if request.sqs_config is not None - else None, + ( + marshal_UpdateTriggerRequestSqsClientConfig( + request.sqs_config, defaults + ) + if request.sqs_config is not None + else None + ), ), ] ), diff --git a/scaleway/scaleway/function/v1beta1/api.py b/scaleway/scaleway/function/v1beta1/api.py index a0c5ef4ca..25fbc3ea8 100644 --- a/scaleway/scaleway/function/v1beta1/api.py +++ b/scaleway/scaleway/function/v1beta1/api.py @@ -1183,14 +1183,15 @@ def list_logs( order_by: ListLogsRequestOrderBy = ListLogsRequestOrderBy.TIMESTAMP_DESC, ) -> ListLogsResponse: """ - List application logs. - List the application logs of the function with the specified ID. + Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List application logs. + Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List the application logs of the function with the specified ID. :param region: Region to target. If none is passed will use default region from the config. :param function_id: UUID of the function to get the logs for. :param page: Page number. :param page_size: Number of logs per page. :param order_by: Order of the logs. :return: :class:`ListLogsResponse ` + :deprecated Usage: :: @@ -1226,14 +1227,15 @@ def list_logs_all( order_by: Optional[ListLogsRequestOrderBy] = None, ) -> List[Log]: """ - List application logs. - List the application logs of the function with the specified ID. + Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List application logs. + Deprecated (replaced by [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List the application logs of the function with the specified ID. :param region: Region to target. If none is passed will use default region from the config. :param function_id: UUID of the function to get the logs for. :param page: Page number. :param page_size: Number of logs per page. :param order_by: Order of the logs. :return: :class:`List[ListLogsResponse] ` + :deprecated Usage: :: diff --git a/scaleway/scaleway/function/v1beta1/marshalling.py b/scaleway/scaleway/function/v1beta1/marshalling.py index 258fa8437..a326d5956 100644 --- a/scaleway/scaleway/function/v1beta1/marshalling.py +++ b/scaleway/scaleway/function/v1beta1/marshalling.py @@ -910,27 +910,33 @@ def marshal_CreateTriggerRequest( [ OneOfPossibility( "scw_sqs_config", - marshal_CreateTriggerRequestMnqSqsClientConfig( - request.scw_sqs_config, defaults - ) - if request.scw_sqs_config is not None - else None, + ( + marshal_CreateTriggerRequestMnqSqsClientConfig( + request.scw_sqs_config, defaults + ) + if request.scw_sqs_config is not None + else None + ), ), OneOfPossibility( "scw_nats_config", - marshal_CreateTriggerRequestMnqNatsClientConfig( - request.scw_nats_config, defaults - ) - if request.scw_nats_config is not None - else None, + ( + marshal_CreateTriggerRequestMnqNatsClientConfig( + request.scw_nats_config, defaults + ) + if request.scw_nats_config is not None + else None + ), ), OneOfPossibility( "sqs_config", - marshal_CreateTriggerRequestSqsClientConfig( - request.sqs_config, defaults - ) - if request.sqs_config is not None - else None, + ( + marshal_CreateTriggerRequestSqsClientConfig( + request.sqs_config, defaults + ) + if request.sqs_config is not None + else None + ), ), ] ), @@ -1046,11 +1052,13 @@ def marshal_UpdateTriggerRequest( [ OneOfPossibility( "sqs_config", - marshal_UpdateTriggerRequestSqsClientConfig( - request.sqs_config, defaults - ) - if request.sqs_config is not None - else None, + ( + marshal_UpdateTriggerRequestSqsClientConfig( + request.sqs_config, defaults + ) + if request.sqs_config is not None + else None + ), ), ] ),