Skip to content

Commit c051f1b

Browse files
docs: Minor formatting (#388)
* 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>
1 parent ad4bb06 commit c051f1b

File tree

22 files changed

+30
-38
lines changed

22 files changed

+30
-38
lines changed

packages/google-cloud-texttospeech/google/cloud/texttospeech_v1/services/text_to_speech/async_client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
except AttributeError: # pragma: NO COVER
4343
OptionalRetry = Union[retries.Retry, object] # type: ignore
4444

45-
from google.longrunning import operations_pb2
45+
from google.longrunning import operations_pb2 # type: ignore
4646

4747
from google.cloud.texttospeech_v1.types import cloud_tts
4848

@@ -325,8 +325,7 @@ async def synthesize_speech(
325325
metadata: Sequence[Tuple[str, str]] = (),
326326
) -> cloud_tts.SynthesizeSpeechResponse:
327327
r"""Synthesizes speech synchronously: receive results
328-
after all text input
329-
has been processed.
328+
after all text input has been processed.
330329
331330
.. code-block:: python
332331

packages/google-cloud-texttospeech/google/cloud/texttospeech_v1/services/text_to_speech/client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
except AttributeError: # pragma: NO COVER
4747
OptionalRetry = Union[retries.Retry, object] # type: ignore
4848

49-
from google.longrunning import operations_pb2
49+
from google.longrunning import operations_pb2 # type: ignore
5050

5151
from google.cloud.texttospeech_v1.types import cloud_tts
5252

@@ -559,8 +559,7 @@ def synthesize_speech(
559559
metadata: Sequence[Tuple[str, str]] = (),
560560
) -> cloud_tts.SynthesizeSpeechResponse:
561561
r"""Synthesizes speech synchronously: receive results
562-
after all text input
563-
has been processed.
562+
after all text input has been processed.
564563
565564
.. code-block:: python
566565

packages/google-cloud-texttospeech/google/cloud/texttospeech_v1/services/text_to_speech/transports/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
from google.api_core import retry as retries
2323
import google.auth # type: ignore
2424
from google.auth import credentials as ga_credentials # type: ignore
25-
from google.longrunning import operations_pb2
25+
from google.longrunning import operations_pb2 # type: ignore
2626
from google.oauth2 import service_account # type: ignore
2727

2828
from google.cloud.texttospeech_v1 import gapic_version as package_version

packages/google-cloud-texttospeech/google/cloud/texttospeech_v1/services/text_to_speech/transports/grpc.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import google.auth # type: ignore
2121
from google.auth import credentials as ga_credentials # type: ignore
2222
from google.auth.transport.grpc import SslCredentials # type: ignore
23-
from google.longrunning import operations_pb2
23+
from google.longrunning import operations_pb2 # type: ignore
2424
import grpc # type: ignore
2525

2626
from google.cloud.texttospeech_v1.types import cloud_tts
@@ -264,8 +264,7 @@ def synthesize_speech(
264264
r"""Return a callable for the synthesize speech method over gRPC.
265265
266266
Synthesizes speech synchronously: receive results
267-
after all text input
268-
has been processed.
267+
after all text input has been processed.
269268
270269
Returns:
271270
Callable[[~.SynthesizeSpeechRequest],

packages/google-cloud-texttospeech/google/cloud/texttospeech_v1/services/text_to_speech/transports/grpc_asyncio.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from google.api_core import gapic_v1, grpc_helpers_async
2020
from google.auth import credentials as ga_credentials # type: ignore
2121
from google.auth.transport.grpc import SslCredentials # type: ignore
22-
from google.longrunning import operations_pb2
22+
from google.longrunning import operations_pb2 # type: ignore
2323
import grpc # type: ignore
2424
from grpc.experimental import aio # type: ignore
2525

@@ -270,8 +270,7 @@ def synthesize_speech(
270270
r"""Return a callable for the synthesize speech method over gRPC.
271271
272272
Synthesizes speech synchronously: receive results
273-
after all text input
274-
has been processed.
273+
after all text input has been processed.
275274
276275
Returns:
277276
Callable[[~.SynthesizeSpeechRequest],

packages/google-cloud-texttospeech/google/cloud/texttospeech_v1/services/text_to_speech/transports/rest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
from google.auth import credentials as ga_credentials # type: ignore
2727
from google.auth.transport.grpc import SslCredentials # type: ignore
2828
from google.auth.transport.requests import AuthorizedSession # type: ignore
29-
from google.longrunning import operations_pb2
3029
from google.protobuf import json_format
3130
import grpc # type: ignore
3231
from requests import __version__ as requests_version
@@ -37,6 +36,8 @@
3736
OptionalRetry = Union[retries.Retry, object] # type: ignore
3837

3938

39+
from google.longrunning import operations_pb2 # type: ignore
40+
4041
from google.cloud.texttospeech_v1.types import cloud_tts
4142

4243
from .base import DEFAULT_CLIENT_INFO as BASE_DEFAULT_CLIENT_INFO

packages/google-cloud-texttospeech/google/cloud/texttospeech_v1/services/text_to_speech_long_audio_synthesize/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.texttospeech_v1.types import cloud_tts_lrs
5050

packages/google-cloud-texttospeech/google/cloud/texttospeech_v1/services/text_to_speech_long_audio_synthesize/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.texttospeech_v1.types import cloud_tts_lrs
5454

packages/google-cloud-texttospeech/google/cloud/texttospeech_v1/services/text_to_speech_long_audio_synthesize/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

packages/google-cloud-texttospeech/google/cloud/texttospeech_v1beta1/services/text_to_speech/async_client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
except AttributeError: # pragma: NO COVER
4343
OptionalRetry = Union[retries.Retry, object] # type: ignore
4444

45-
from google.longrunning import operations_pb2
45+
from google.longrunning import operations_pb2 # type: ignore
4646

4747
from google.cloud.texttospeech_v1beta1.types import cloud_tts
4848

@@ -325,8 +325,7 @@ async def synthesize_speech(
325325
metadata: Sequence[Tuple[str, str]] = (),
326326
) -> cloud_tts.SynthesizeSpeechResponse:
327327
r"""Synthesizes speech synchronously: receive results
328-
after all text input
329-
has been processed.
328+
after all text input has been processed.
330329
331330
.. code-block:: python
332331

0 commit comments

Comments
 (0)