Skip to content

Commit e1a2483

Browse files
Fix usage documentation. (#4168)
1 parent 598ab72 commit e1a2483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/language/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ returns a :class:`~.language_v1.types.AnalyzeEntitiesResponse`.
131131
>>> document = language.types.Document(
132132
... content='Michelangelo Caravaggio, Italian painter, is '
133133
... 'known for "The Calling of Saint Matthew".',
134-
... type=language.enums.Type.PLAIN_TEXT,
134+
... type=language.enums.Document.Type.PLAIN_TEXT,
135135
... )
136136
>>> response = client.analyze_entities(
137137
... document=document,

0 commit comments

Comments
 (0)