Skip to content

Make Model constructor robust against new model types #334

@tswast

Description

@tswast

Follow-up to #293

model_type appears to be the only enum. Maybe we pull this out of the _proto resource and save it as a string, instead?

Alternatively, maybe if we fail to parse, we can set to MODEL_TYPE_UNSPECIFIED?

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.type: cleanupAn internal cleanup or hygiene concern.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions