Content-Length: 538196 | pFad | https://github.com/googleapis/python-language/commit/475e787aa7c2cd6a6268c2656d6d9e3cd3a76735

4E docs: Fix formatting of request arg in docstring (#429) · googleapis/python-language@475e787 · GitHub
Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Commit 475e787

Browse files
docs: Fix formatting of request arg in docstring (#429)
* 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 a65c85d commit 475e787

File tree

6 files changed

+12
-16
lines changed

6 files changed

+12
-16
lines changed

google/cloud/language_v1/services/language_service/async_client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -839,8 +839,9 @@ async def sample_annotate_text():
839839
Args:
840840
request (Optional[Union[google.cloud.language_v1.types.AnnotateTextRequest, dict]]):
841841
The request object. The request message for the text
842-
annotation API, which can perform multiple analysis
843-
types (sentiment, entities, and syntax) in one call.
842+
annotation API, which can perform
843+
multiple analysis types (sentiment,
844+
entities, and syntax) in one call.
844845
document (:class:`google.cloud.language_v1.types.Document`):
845846
Required. Input document.
846847
This corresponds to the ``document`` field

google/cloud/language_v1/services/language_service/client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -998,8 +998,9 @@ def sample_annotate_text():
998998
Args:
999999
request (Union[google.cloud.language_v1.types.AnnotateTextRequest, dict]):
10001000
The request object. The request message for the text
1001-
annotation API, which can perform multiple analysis
1002-
types (sentiment, entities, and syntax) in one call.
1001+
annotation API, which can perform
1002+
multiple analysis types (sentiment,
1003+
entities, and syntax) in one call.
10031004
document (google.cloud.language_v1.types.Document):
10041005
Required. Input document.
10051006
This corresponds to the ``document`` field

google/cloud/language_v1/services/language_service/transports/rest.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,6 @@ def __call__(
480480
request (~.language_service.AnalyzeEntitySentimentRequest):
481481
The request object. The entity-level sentiment analysis
482482
request message.
483-
484483
retry (google.api_core.retry.Retry): Designation of what errors, if any,
485484
should be retried.
486485
timeout (float): The timeout for this request.
@@ -581,7 +580,6 @@ def __call__(
581580
request (~.language_service.AnalyzeSentimentRequest):
582581
The request object. The sentiment analysis request
583582
message.
584-
585583
retry (google.api_core.retry.Retry): Designation of what errors, if any,
586584
should be retried.
587585
timeout (float): The timeout for this request.
@@ -779,7 +777,6 @@ def __call__(
779777
annotation API, which can perform
780778
multiple analysis types (sentiment,
781779
entities, and syntax) in one call.
782-
783780
retry (google.api_core.retry.Retry): Designation of what errors, if any,
784781
should be retried.
785782
timeout (float): The timeout for this request.
@@ -878,7 +875,6 @@ def __call__(
878875
request (~.language_service.ClassifyTextRequest):
879876
The request object. The document classification request
880877
message.
881-
882878
retry (google.api_core.retry.Retry): Designation of what errors, if any,
883879
should be retried.
884880
timeout (float): The timeout for this request.

google/cloud/language_v1beta2/services/language_service/async_client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -840,8 +840,9 @@ async def sample_annotate_text():
840840
Args:
841841
request (Optional[Union[google.cloud.language_v1beta2.types.AnnotateTextRequest, dict]]):
842842
The request object. The request message for the text
843-
annotation API, which can perform multiple analysis
844-
types (sentiment, entities, and syntax) in one call.
843+
annotation API, which can perform
844+
multiple analysis types (sentiment,
845+
entities, and syntax) in one call.
845846
document (:class:`google.cloud.language_v1beta2.types.Document`):
846847
Required. Input document.
847848
This corresponds to the ``document`` field

google/cloud/language_v1beta2/services/language_service/client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -999,8 +999,9 @@ def sample_annotate_text():
999999
Args:
10001000
request (Union[google.cloud.language_v1beta2.types.AnnotateTextRequest, dict]):
10011001
The request object. The request message for the text
1002-
annotation API, which can perform multiple analysis
1003-
types (sentiment, entities, and syntax) in one call.
1002+
annotation API, which can perform
1003+
multiple analysis types (sentiment,
1004+
entities, and syntax) in one call.
10041005
document (google.cloud.language_v1beta2.types.Document):
10051006
Required. Input document.
10061007
This corresponds to the ``document`` field

google/cloud/language_v1beta2/services/language_service/transports/rest.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,6 @@ def __call__(
480480
request (~.language_service.AnalyzeEntitySentimentRequest):
481481
The request object. The entity-level sentiment analysis
482482
request message.
483-
484483
retry (google.api_core.retry.Retry): Designation of what errors, if any,
485484
should be retried.
486485
timeout (float): The timeout for this request.
@@ -581,7 +580,6 @@ def __call__(
581580
request (~.language_service.AnalyzeSentimentRequest):
582581
The request object. The sentiment analysis request
583582
message.
584-
585583
retry (google.api_core.retry.Retry): Designation of what errors, if any,
586584
should be retried.
587585
timeout (float): The timeout for this request.
@@ -779,7 +777,6 @@ def __call__(
779777
annotation API, which can perform
780778
multiple analysis types (sentiment,
781779
entities, and syntax) in one call.
782-
783780
retry (google.api_core.retry.Retry): Designation of what errors, if any,
784781
should be retried.
785782
timeout (float): The timeout for this request.
@@ -878,7 +875,6 @@ def __call__(
878875
request (~.language_service.ClassifyTextRequest):
879876
The request object. The document classification request
880877
message.
881-
882878
retry (google.api_core.retry.Retry): Designation of what errors, if any,
883879
should be retried.
884880
timeout (float): The timeout for this request.

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/googleapis/python-language/commit/475e787aa7c2cd6a6268c2656d6d9e3cd3a76735

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy