Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
fix: Document -> types.Document (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewferlitsch authored Dec 7, 2021
1 parent f5ffec6 commit 01367d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/v1/language_entity_sentiment_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def sample_analyze_entity_sentiment(text_content):
# text_content = 'Grapes are good. Bananas are bad.'

# Available types: PLAIN_TEXT, HTML
type_ = language_v1.Document.Type.PLAIN_TEXT
type_ = language_v1.types.Document.Type.PLAIN_TEXT

# Optional. If not specified, the language is automatically detected.
# For list of supported languages:
Expand Down

0 comments on commit 01367d7

Please sign in to comment.