Skip to content

The commands shown in the commands on the page yield errors. #4138

Closed

Activity

  1. udasahai commented on Oct 7, 2017

    @udasahai
    document = language.types.Document( content = 'I am going from las vegas to los Angeles', type=language.enums.Type.PLAIN_TEXT,)
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    AttributeError: 'module' object has no attribute 'Type'
  2. lukesneeringer commented on Oct 12, 2017

    @lukesneeringer
    Contributor

    Sure enough. It is language.enums.Document.Type.PLAIN_TEXT.

  3. added a commit that references this issue on Oct 12, 2017
    56cbd6f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

api: languageIssues related to the Cloud Natural Language API API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions