Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Attribute error Name while executing the snippet #170

@vikrant-sinha

Description

@vikrant-sinha

cluster.status.State.Name(cluster.status.state),

  File "/usr/local/lib/python3.6/enum.py", line 326, in __getattr__
    raise AttributeError(name) from None
AttributeError: Name```

A better approach would be to use `cluster.status.state.name`

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: dataprocIssues related to the googleapis/python-dataproc API.priority: p2Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions