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

Commit a1952d2

Browse files
docs: Minor formatting (#152)
* docs: Minor formatting chore: Update gapic-generator-python to v1.11.5 build: Update rules_python to 0.24.0 PiperOrigin-RevId: 563436317 Source-Link: googleapis/googleapis@42fd37b Source-Link: https://github.com/googleapis/googleapis-gen/commit/280264ca02fb9316b4237a96d0af1a2343a81a56 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjgwMjY0Y2EwMmZiOTMxNmI0MjM3YTk2ZDBhZjFhMjM0M2E4MWE1NiJ9 * 🦉 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 620da17 commit a1952d2

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
from google.api_core import operation # type: ignore
4646
from google.api_core import operation_async # type: ignore
47-
from google.longrunning import operations_pb2
47+
from google.longrunning import operations_pb2 # type: ignore
4848

4949
from google.cloud.optimization_v1.types import async_model, fleet_routing
5050

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
from google.api_core import operation # type: ignore
5050
from google.api_core import operation_async # type: ignore
51-
from google.longrunning import operations_pb2
51+
from google.longrunning import operations_pb2 # type: ignore
5252

5353
from google.cloud.optimization_v1.types import async_model, fleet_routing
5454

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
from google.auth import credentials as ga_credentials # type: ignore
3333
from google.auth.transport.grpc import SslCredentials # type: ignore
3434
from google.auth.transport.requests import AuthorizedSession # type: ignore
35-
from google.longrunning import operations_pb2
3635
from google.protobuf import json_format
3736
import grpc # type: ignore
3837
from requests import __version__ as requests_version

google/cloud/optimization_v1/types/fleet_routing.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,7 @@ class ShipmentModel(proto.Message):
693693
1970 (i.e. seconds: 0, nanos: 0) is used as default.
694694
global_end_time (google.protobuf.timestamp_pb2.Timestamp):
695695
If unset, 00:00:00 UTC, January 1, 1971 (i.e.
696-
seconds: 31536000, nanos: 0)
697-
is used as default.
696+
seconds: 31536000, nanos: 0) is used as default.
698697
global_duration_cost_per_hour (float):
699698
The "global duration" of the overall plan is the difference
700699
between the earliest effective start time and the latest
@@ -1338,10 +1337,10 @@ class Shipment(proto.Message):
13381337

13391338
class VisitRequest(proto.Message):
13401339
r"""Request for a visit which can be done by a vehicle: it has a
1341-
geo-location
1342-
(or two, see below), opening and closing times represented by
1343-
time windows, and a service duration time (time spent by the
1344-
vehicle once it has arrived to pickup or drop off goods).
1340+
geo-location (or two, see below), opening and closing times
1341+
represented by time windows, and a service duration time (time
1342+
spent by the vehicle once it has arrived to pickup or drop off
1343+
goods).
13451344
13461345
Attributes:
13471346
arrival_location (google.type.latlng_pb2.LatLng):

tests/unit/gapic/optimization_v1/test_fleet_routing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
import google.auth
4242
from google.auth import credentials as ga_credentials
4343
from google.auth.exceptions import MutualTLSChannelError
44-
from google.longrunning import operations_pb2
44+
from google.longrunning import operations_pb2 # type: ignore
4545
from google.oauth2 import service_account
4646
from google.protobuf import duration_pb2 # type: ignore
4747
from google.protobuf import json_format

0 commit comments

Comments
 (0)