fix(spanner-django): db_returning should only be overridden for Spann… · googleapis/google-cloud-python@8c1eb13 · GitHub
Skip to content

Commit 8c1eb13

Browse files
authored
fix(spanner-django): db_returning should only be overridden for Spanner (#16111)
The db_returning attribute of AutoFields should only be overridden for Spanner database connections, and not globally for all databases. Note: Many tests are failing. These failures are not due to these changes, but due to existing failures for this library. Fixes #15930 Replaces googleapis/python-spanner-django#961
1 parent d3d960b commit 8c1eb13

2 files changed

Lines changed: 18 additions & 6 deletions

File tree

packages/django-google-spanner/django_spanner/__init__.py

Lines changed: 2 additions & 6 deletions

packages/django-google-spanner/tests/unit/django_spanner/test_schema.py

Lines changed: 16 additions & 0 deletions

0 commit comments

Comments
 (0)