Skip to content

Commit

Permalink
docs: Fix formatting of request arg in docstring (#122)
Browse files Browse the repository at this point in the history
* docs: Fix formatting of request arg in docstring

chore: Update gapic-generator-python to v1.9.1
PiperOrigin-RevId: 518604533

Source-Link: googleapis/googleapis@8a085ae

Source-Link: googleapis/googleapis-gen@b2ab4b0
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 <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Mar 23, 2023
1 parent c455ecf commit 7b0c8dd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,9 @@ async def sample_optimize_tours():
Args:
request (Optional[Union[google.cloud.optimization_v1.types.OptimizeToursRequest, dict]]):
The request object. Request to be given to a tour
optimization solver which defines the shipment model to
solve as well as optimization parameters.
optimization solver which defines the
shipment model to solve as well as
optimization parameters.
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 @@ -398,10 +399,10 @@ async def sample_batch_optimize_tours():
Args:
request (Optional[Union[google.cloud.optimization_v1.types.BatchOptimizeToursRequest, dict]]):
The request object. Request to batch optimize tours as
an asynchronous operation. Each input file should
contain one `OptimizeToursRequest`, and each output file
will contain one `OptimizeToursResponse`. The request
The request object. Request to batch optimize tours as an asynchronous
operation. Each input file should contain one
``OptimizeToursRequest``, and each output file will
contain one ``OptimizeToursResponse``. The request
contains information to read/write and parse the files.
All the input and output files should be under the same
project.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,9 @@ def sample_optimize_tours():
Args:
request (Union[google.cloud.optimization_v1.types.OptimizeToursRequest, dict]):
The request object. Request to be given to a tour
optimization solver which defines the shipment model to
solve as well as optimization parameters.
optimization solver which defines the
shipment model to solve as well as
optimization parameters.
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 @@ -601,10 +602,10 @@ def sample_batch_optimize_tours():
Args:
request (Union[google.cloud.optimization_v1.types.BatchOptimizeToursRequest, dict]):
The request object. Request to batch optimize tours as
an asynchronous operation. Each input file should
contain one `OptimizeToursRequest`, and each output file
will contain one `OptimizeToursResponse`. The request
The request object. Request to batch optimize tours as an asynchronous
operation. Each input file should contain one
``OptimizeToursRequest``, and each output file will
contain one ``OptimizeToursResponse``. The request
contains information to read/write and parse the files.
All the input and output files should be under the same
project.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@ def __call__(
contains information to read/write and parse the files.
All the input and output files should be under the same
project.
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 @@ -458,7 +457,6 @@ def __call__(
optimization solver which defines the
shipment model to solve as well as
optimization parameters.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down

0 comments on commit 7b0c8dd

Please sign in to comment.