AFAICT, it does not seem possible to create a table with the Python library, as table_constraints is inexplicably unsettable. (You can't, AFAICT, create PK/FK constraints via the Console, either, so I am beginning to wonder how one does make use of this feature.)
Environment details
OS type and version: macOS 14.5
Python version: python --version: Python 3.12.3
pip version: pip --version
pip 24.0 from /usr/local/lib/python3.12/site-packages/pip (python 3.12)
google-cloud-bigquery version: pip show google-cloud-bigquery
AFAICT, it does not seem possible to create a table with the Python library, as
table_constraints
is inexplicably unsettable. (You can't, AFAICT, create PK/FK constraints via the Console, either, so I am beginning to wonder how one does make use of this feature.)Environment details
python --version
:Python 3.12.3
pip --version
google-cloud-bigquery
version:pip show google-cloud-bigquery
Steps to reproduce
Code example
Where
a_bq_table
is aTable
, andconstraints
is aTableConstraints
Stack trace
N/A