Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

docs: Fix formatting of request arg in docstring #215

Merged
merged 2 commits into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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``
Expand Down Expand Up @@ -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``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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``
Expand Down Expand Up @@ -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``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down