-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
table_constraints
has no setter?
#1990
Labels
api: bigquery
Issues related to the googleapis/python-bigquery API.
Comments
lkhagvadorj-amp
added a commit
to lkhagvadorj-amp/python-bigquery
that referenced
this issue
Dec 20, 2024
4 tasks
lkhagvadorj-amp
added a commit
to lkhagvadorj-amp/python-bigquery
that referenced
this issue
Feb 21, 2025
lkhagvadorj-amp
added a commit
to lkhagvadorj-amp/python-bigquery
that referenced
this issue
Feb 23, 2025
Linchin
pushed a commit
that referenced
this issue
Mar 4, 2025
* fix: adding property setter for table constraints, #1990 * fix: adding unit test for to_api_repr() method * fix: adding system test for bigquery table update * fix: adding more test case for table constraints property * fix: adding more test case for table constraints property * fix: linting code * fix: adding unit tests for test table, table constraint and foreign key * fix: linting based on noxfile * fix: linting based on noxfile * fix: adding unit tests and system test * fix: clearing lint error * fix: adding table constraint eq unit tests * fix: adding type to to_api_repr resource
This was referenced Apr 1, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: