Skip to content

feat: set user-agent string to distinguish SQLAlchemy requests #115

@skuruppu

Description

@skuruppu

Is your feature request related to a problem? Please describe.
The implementation doesn't seem to set a user-agent string to indicate that the requests are coming from SQLAlchemy.

Describe the solution you'd like
Set the user-agent in the dbapi connection.

Describe alternatives you've considered
N/A

Additional context
It seems that dbapi by default sets the DEFAULT_USER_AGENT = "django_spanner/" + VERSION. This may not be ideal.

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the googleapis/python-spanner-sqlalchemy API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions