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

fix: Attribute error Name while executing the sample code #205

Merged
merged 3 commits into from Jul 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion samples/snippets/list_clusters.py
Expand Up @@ -32,7 +32,7 @@ def list_clusters(dataproc, project, region):
(
"{} - {}".format(
cluster.cluster_name,
cluster.status.State.Name(cluster.status.state),
cluster.status.state.name
)
)
)
Expand Down
2 changes: 1 addition & 1 deletion samples/snippets/submit_job_to_cluster.py
Expand Up @@ -137,7 +137,7 @@ def list_clusters_with_details(dataproc, project, region):
(
"{} - {}".format(
cluster.cluster_name,
cluster.status.State.Name(cluster.status.state),
cluster.status.state.name,
)
)
)
Expand Down