- Notifications
You must be signed in to change notification settings - Fork 99
Closed
Labels
api: spannerIssues related to the googleapis/python-spanner API.Issues related to the googleapis/python-spanner API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Documents settings.py for python-spanner-django
DATABASES = { 'default': { 'ENGINE': 'django_spanner', 'PROJECT': '<GCP_project_id>', 'INSTANCE': '<instance_id>', 'NAME': '<database_name>', 'OPTIONS': { 'credentials_uri': '<credentials_uri>', }, }, } TypeError: connect() got an unexpected keyword argument 'credentials_uri'
Reference issue : googleapis/python-spanner-django#582
The paramter credentials_uri was there when db_api is part of python-spanner-django, but it removed or replaced by credentials parameter when it moved to python-spanner.
Metadata
Metadata
Assignees
Labels
api: spannerIssues related to the googleapis/python-spanner API.Issues related to the googleapis/python-spanner API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.