From c7e3dc7d2555aabee2a1897fb05899e0c63de24d Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 23 Mar 2023 09:25:06 -0400 Subject: [PATCH] docs: Fix formatting of request arg in docstring (#215) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: Fix formatting of request arg in docstring chore: Update gapic-generator-python to v1.9.1 PiperOrigin-RevId: 518604533 Source-Link: https://github.com/googleapis/googleapis/commit/8a085aeddfa010af5bcef090827aac5255383d7e Source-Link: https://github.com/googleapis/googleapis-gen/commit/b2ab4b0a0ae2907e812c209198a74e0898afcb04 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- .../services/question_service/async_client.py | 7 +++---- .../dataqna_v1alpha/services/question_service/client.py | 7 +++---- .../services/question_service/transports/rest.py | 2 -- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/google/cloud/dataqna_v1alpha/services/question_service/async_client.py b/google/cloud/dataqna_v1alpha/services/question_service/async_client.py index 6ede5ce..ebaea47 100644 --- a/google/cloud/dataqna_v1alpha/services/question_service/async_client.py +++ b/google/cloud/dataqna_v1alpha/services/question_service/async_client.py @@ -281,8 +281,8 @@ async def sample_get_question(): Args: request (Optional[Union[google.cloud.dataqna_v1alpha.types.GetQuestionRequest, dict]]): - The request object. A request to get a previously - created question. + The request object. A request to get a previously created + question. name (:class:`str`): Required. The unique identifier for the question. Example: ``projects/foo/locations/bar/questions/1234`` @@ -507,8 +507,7 @@ async def sample_execute_question(): Args: request (Optional[Union[google.cloud.dataqna_v1alpha.types.ExecuteQuestionRequest, dict]]): - The request object. Request to execute an - interpretation. + The request object. Request to execute an interpretation. name (:class:`str`): Required. The unique identifier for the question. Example: ``projects/foo/locations/bar/questions/1234`` diff --git a/google/cloud/dataqna_v1alpha/services/question_service/client.py b/google/cloud/dataqna_v1alpha/services/question_service/client.py index d6f1865..615b127 100644 --- a/google/cloud/dataqna_v1alpha/services/question_service/client.py +++ b/google/cloud/dataqna_v1alpha/services/question_service/client.py @@ -531,8 +531,8 @@ def sample_get_question(): Args: request (Union[google.cloud.dataqna_v1alpha.types.GetQuestionRequest, dict]): - The request object. A request to get a previously - created question. + The request object. A request to get a previously created + question. name (str): Required. The unique identifier for the question. Example: ``projects/foo/locations/bar/questions/1234`` @@ -757,8 +757,7 @@ def sample_execute_question(): Args: request (Union[google.cloud.dataqna_v1alpha.types.ExecuteQuestionRequest, dict]): - The request object. Request to execute an - interpretation. + The request object. Request to execute an interpretation. name (str): Required. The unique identifier for the question. Example: ``projects/foo/locations/bar/questions/1234`` diff --git a/google/cloud/dataqna_v1alpha/services/question_service/transports/rest.py b/google/cloud/dataqna_v1alpha/services/question_service/transports/rest.py index c0adb7d..3b63942 100644 --- a/google/cloud/dataqna_v1alpha/services/question_service/transports/rest.py +++ b/google/cloud/dataqna_v1alpha/services/question_service/transports/rest.py @@ -372,7 +372,6 @@ def __call__( request (~.question_service.CreateQuestionRequest): The request object. Request to create a question resource. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -572,7 +571,6 @@ def __call__( request (~.question_service.GetQuestionRequest): The request object. A request to get a previously created question. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request.