Skip to content

Conversation

Michael-fore
Copy link

from google.cloud import dataproc_v1

config = {
           "project_id": "...",
           "cluster_name":"...",
           "config": { "software_config": {
                   "optional_components": ["ICEBERG"],  
               }
}

dataproc_v1.ClusterControllerClient().create_cluster(
           request={
               "project_id": self.project_id,
               "region": self.region,
               "cluster": cluster_config
           }

was giving an error like this

File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/enum.py", line 790, in __getitem__ return cls._member_map_[name] ^^^^^^ KeyError: 'ICEBERG'

I don't really know what the process is here but the contributing.md didn't give me much 🙂

Issue in the google-cloud-python repo

@dream188888
Copy link

#1064

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants