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

Commit ccd6370

Browse files
docs: Fix formatting of request arg in docstring (#122)
* 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: 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 <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 53501b2 commit ccd6370

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

google/cloud/optimization_v1/services/fleet_routing/async_client.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,9 @@ async def sample_optimize_tours():
287287
Args:
288288
request (Optional[Union[google.cloud.optimization_v1.types.OptimizeToursRequest, dict]]):
289289
The request object. Request to be given to a tour
290-
optimization solver which defines the shipment model to
291-
solve as well as optimization parameters.
290+
optimization solver which defines the
291+
shipment model to solve as well as
292+
optimization parameters.
292293
retry (google.api_core.retry.Retry): Designation of what errors, if any,
293294
should be retried.
294295
timeout (float): The timeout for this request.
@@ -398,10 +399,10 @@ async def sample_batch_optimize_tours():
398399
399400
Args:
400401
request (Optional[Union[google.cloud.optimization_v1.types.BatchOptimizeToursRequest, dict]]):
401-
The request object. Request to batch optimize tours as
402-
an asynchronous operation. Each input file should
403-
contain one `OptimizeToursRequest`, and each output file
404-
will contain one `OptimizeToursResponse`. The request
402+
The request object. Request to batch optimize tours as an asynchronous
403+
operation. Each input file should contain one
404+
``OptimizeToursRequest``, and each output file will
405+
contain one ``OptimizeToursResponse``. The request
405406
contains information to read/write and parse the files.
406407
All the input and output files should be under the same
407408
project.

google/cloud/optimization_v1/services/fleet_routing/client.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,9 @@ def sample_optimize_tours():
498498
Args:
499499
request (Union[google.cloud.optimization_v1.types.OptimizeToursRequest, dict]):
500500
The request object. Request to be given to a tour
501-
optimization solver which defines the shipment model to
502-
solve as well as optimization parameters.
501+
optimization solver which defines the
502+
shipment model to solve as well as
503+
optimization parameters.
503504
retry (google.api_core.retry.Retry): Designation of what errors, if any,
504505
should be retried.
505506
timeout (float): The timeout for this request.
@@ -601,10 +602,10 @@ def sample_batch_optimize_tours():
601602
602603
Args:
603604
request (Union[google.cloud.optimization_v1.types.BatchOptimizeToursRequest, dict]):
604-
The request object. Request to batch optimize tours as
605-
an asynchronous operation. Each input file should
606-
contain one `OptimizeToursRequest`, and each output file
607-
will contain one `OptimizeToursResponse`. The request
605+
The request object. Request to batch optimize tours as an asynchronous
606+
operation. Each input file should contain one
607+
``OptimizeToursRequest``, and each output file will
608+
contain one ``OptimizeToursResponse``. The request
608609
contains information to read/write and parse the files.
609610
All the input and output files should be under the same
610611
project.

google/cloud/optimization_v1/services/fleet_routing/transports/rest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@ def __call__(
351351
contains information to read/write and parse the files.
352352
All the input and output files should be under the same
353353
project.
354-
355354
retry (google.api_core.retry.Retry): Designation of what errors, if any,
356355
should be retried.
357356
timeout (float): The timeout for this request.
@@ -458,7 +457,6 @@ def __call__(
458457
optimization solver which defines the
459458
shipment model to solve as well as
460459
optimization parameters.
461-
462460
retry (google.api_core.retry.Retry): Designation of what errors, if any,
463461
should be retried.
464462
timeout (float): The timeout for this request.

0 commit comments

Comments
 (0)