Skip to content

Commit d1ef7d3

Browse files
docs: Minor formatting (#433)
* 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: googleapis/googleapis-gen@280264c 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> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 64776b3 commit d1ef7d3

182 files changed

Lines changed: 290 additions & 157 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/google-cloud-retail/google/cloud/retail_v2/services/catalog_service/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
OptionalRetry = Union[retries.Retry, object] # type: ignore
4444

4545
from google.cloud.location import locations_pb2 # type: ignore
46-
from google.longrunning import operations_pb2
46+
from google.longrunning import operations_pb2 # type: ignore
4747
from google.protobuf import field_mask_pb2 # type: ignore
4848
from google.protobuf import timestamp_pb2 # type: ignore
4949

packages/google-cloud-retail/google/cloud/retail_v2/services/catalog_service/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
OptionalRetry = Union[retries.Retry, object] # type: ignore
4848

4949
from google.cloud.location import locations_pb2 # type: ignore
50-
from google.longrunning import operations_pb2
50+
from google.longrunning import operations_pb2 # type: ignore
5151
from google.protobuf import field_mask_pb2 # type: ignore
5252
from google.protobuf import timestamp_pb2 # type: ignore
5353

packages/google-cloud-retail/google/cloud/retail_v2/services/catalog_service/transports/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import google.auth # type: ignore
2424
from google.auth import credentials as ga_credentials # type: ignore
2525
from google.cloud.location import locations_pb2 # type: ignore
26-
from google.longrunning import operations_pb2
26+
from google.longrunning import operations_pb2 # type: ignore
2727
from google.oauth2 import service_account # type: ignore
2828
from google.protobuf import empty_pb2 # type: ignore
2929

packages/google-cloud-retail/google/cloud/retail_v2/services/catalog_service/transports/grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from google.auth import credentials as ga_credentials # type: ignore
2222
from google.auth.transport.grpc import SslCredentials # type: ignore
2323
from google.cloud.location import locations_pb2 # type: ignore
24-
from google.longrunning import operations_pb2
24+
from google.longrunning import operations_pb2 # type: ignore
2525
from google.protobuf import empty_pb2 # type: ignore
2626
import grpc # type: ignore
2727

packages/google-cloud-retail/google/cloud/retail_v2/services/catalog_service/transports/grpc_asyncio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from google.auth import credentials as ga_credentials # type: ignore
2121
from google.auth.transport.grpc import SslCredentials # type: ignore
2222
from google.cloud.location import locations_pb2 # type: ignore
23-
from google.longrunning import operations_pb2
23+
from google.longrunning import operations_pb2 # type: ignore
2424
from google.protobuf import empty_pb2 # type: ignore
2525
import grpc # type: ignore
2626
from grpc.experimental import aio # type: ignore

packages/google-cloud-retail/google/cloud/retail_v2/services/catalog_service/transports/rest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
from google.auth.transport.grpc import SslCredentials # type: ignore
2828
from google.auth.transport.requests import AuthorizedSession # type: ignore
2929
from google.cloud.location import locations_pb2 # type: ignore
30-
from google.longrunning import operations_pb2
3130
from google.protobuf import json_format
3231
import grpc # type: ignore
3332
from requests import __version__ as requests_version
@@ -38,6 +37,7 @@
3837
OptionalRetry = Union[retries.Retry, object] # type: ignore
3938

4039

40+
from google.longrunning import operations_pb2 # type: ignore
4141
from google.protobuf import empty_pb2 # type: ignore
4242

4343
from google.cloud.retail_v2.types import catalog

packages/google-cloud-retail/google/cloud/retail_v2/services/completion_service/async_client.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
from google.api_core import operation # type: ignore
4646
from google.api_core import operation_async # type: ignore
4747
from google.cloud.location import locations_pb2 # type: ignore
48-
from google.longrunning import operations_pb2
48+
from google.longrunning import operations_pb2 # type: ignore
4949

5050
from google.cloud.retail_v2.types import completion_service, import_config
5151

@@ -56,6 +56,7 @@
5656

5757
class CompletionServiceAsyncClient:
5858
"""Autocomplete service for retail.
59+
5960
This feature is only available for users who have Retail Search
6061
enabled. Enable Retail Search on Cloud Console before using this
6162
feature.
@@ -315,11 +316,14 @@ async def import_completion_data(
315316
metadata: Sequence[Tuple[str, str]] = (),
316317
) -> operation_async.AsyncOperation:
317318
r"""Bulk import of processed completion dataset.
319+
318320
Request processing is asynchronous. Partial updating is
319321
not supported.
322+
320323
The operation is successfully finished only after the
321324
imported suggestions are indexed successfully and ready
322325
for serving. The process takes hours.
326+
323327
This feature is only available for users who have Retail
324328
Search enabled. Enable Retail Search on Cloud Console
325329
before using this feature.

packages/google-cloud-retail/google/cloud/retail_v2/services/completion_service/client.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
from google.api_core import operation # type: ignore
5050
from google.api_core import operation_async # type: ignore
5151
from google.cloud.location import locations_pb2 # type: ignore
52-
from google.longrunning import operations_pb2
52+
from google.longrunning import operations_pb2 # type: ignore
5353

5454
from google.cloud.retail_v2.types import completion_service, import_config
5555

@@ -98,6 +98,7 @@ def get_transport_class(
9898

9999
class CompletionServiceClient(metaclass=CompletionServiceClientMeta):
100100
"""Autocomplete service for retail.
101+
101102
This feature is only available for users who have Retail Search
102103
enabled. Enable Retail Search on Cloud Console before using this
103104
feature.
@@ -545,11 +546,14 @@ def import_completion_data(
545546
metadata: Sequence[Tuple[str, str]] = (),
546547
) -> operation.Operation:
547548
r"""Bulk import of processed completion dataset.
549+
548550
Request processing is asynchronous. Partial updating is
549551
not supported.
552+
550553
The operation is successfully finished only after the
551554
imported suggestions are indexed successfully and ready
552555
for serving. The process takes hours.
556+
553557
This feature is only available for users who have Retail
554558
Search enabled. Enable Retail Search on Cloud Console
555559
before using this feature.

packages/google-cloud-retail/google/cloud/retail_v2/services/completion_service/transports/grpc.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class CompletionServiceGrpcTransport(CompletionServiceTransport):
3333
"""gRPC backend transport for CompletionService.
3434
3535
Autocomplete service for retail.
36+
3637
This feature is only available for users who have Retail Search
3738
enabled. Enable Retail Search on Cloud Console before using this
3839
feature.
@@ -290,11 +291,14 @@ def import_completion_data(
290291
r"""Return a callable for the import completion data method over gRPC.
291292
292293
Bulk import of processed completion dataset.
294+
293295
Request processing is asynchronous. Partial updating is
294296
not supported.
297+
295298
The operation is successfully finished only after the
296299
imported suggestions are indexed successfully and ready
297300
for serving. The process takes hours.
301+
298302
This feature is only available for users who have Retail
299303
Search enabled. Enable Retail Search on Cloud Console
300304
before using this feature.

packages/google-cloud-retail/google/cloud/retail_v2/services/completion_service/transports/grpc_asyncio.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class CompletionServiceGrpcAsyncIOTransport(CompletionServiceTransport):
3434
"""gRPC AsyncIO backend transport for CompletionService.
3535
3636
Autocomplete service for retail.
37+
3738
This feature is only available for users who have Retail Search
3839
enabled. Enable Retail Search on Cloud Console before using this
3940
feature.
@@ -295,11 +296,14 @@ def import_completion_data(
295296
r"""Return a callable for the import completion data method over gRPC.
296297
297298
Bulk import of processed completion dataset.
299+
298300
Request processing is asynchronous. Partial updating is
299301
not supported.
302+
300303
The operation is successfully finished only after the
301304
imported suggestions are indexed successfully and ready
302305
for serving. The process takes hours.
306+
303307
This feature is only available for users who have Retail
304308
Search enabled. Enable Retail Search on Cloud Console
305309
before using this feature.

0 commit comments

Comments
 (0)