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

fix: Document -> types.Document #227

Merged
merged 2 commits into from
Dec 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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