SchemaField cannot initialize from __repr__ #1041
Labels
api: bigquery
Issues related to the googleapis/python-bigquery API.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
3.9.7
21.3.1
google-cloud-bigquery
version:2.29.0
Description
Prior versions of
google-cloud-bigquery
(2.3.1
) allowedSchemaField
instantiation based on an existingSchemaField
__repr__
.Use Case
SchemaField
and passes it through a Jinja template as part of building hundreds of Airflow DAGs.__repr__
from theSchemaField
into the templated.py
..py
files and executes them.Code example
In version
2.3.1
Version
2.29.0
:Setting the
policy_tags
toNone
still results in()
.The text was updated successfully, but these errors were encountered: