Skip to content

dbapi: implementation dsn - #351

Open
Mockird31 wants to merge 1 commit into
masterfrom
mockird31/gh-170-implement-dsn
Open

Mockird31 wants to merge 1 commit into
masterfrom
mockird31/gh-170-implement-dsn

Conversation

@Mockird31

@Mockird31 Mockird31 commented Sep 3, 2026 •

Copy link
Copy Markdown

Added support for DSN strings in the dbapi connect method. The following format is supported:
[scheme://][user[:password]@]host:port[?option=value&...].

Closes #170

@Mockird31
Mockird31 force-pushed the mockird31/gh-170-implement-dsn branch 2 times, most recently from 0ab3fc6 to f4eab24 Compare September 3, 2026 21:13
@Mockird31
Mockird31 marked this pull request as ready for review September 4, 2026 07:10
@Mockird31
Mockird31 requested review from bigbes and sssciel September 4, 2026 07:10
@patapenka-alexey
patapenka-alexey self-requested a review October 15, 2026 07:53
@patapenka-alexey

Copy link
Copy Markdown
Contributor

Please, add information about "Support for Python 3.9 and earlier was dropped to enable the use of generic aliases." to the Changelog.

@Mockird31
Mockird31 force-pushed the mockird31/gh-170-implement-dsn branch 2 times, most recently from 2802caf to 2a16118 Compare October 15, 2026 12:12
Added support for DSN strings in the dbapi `connect` method. The
following format is supported:
`[scheme://][user[:password]@]host:port[?option=value&...]`.

Closes #170
@Mockird31
Mockird31 force-pushed the mockird31/gh-170-implement-dsn branch from b7edbb4 to b9c2cdd Compare October 15, 2026 12:49
@Mockird31

Copy link
Copy Markdown
Author

Please, add information about "Support for Python 3.9 and earlier was dropped to enable the use of generic aliases." to the Changelog.

Initially, I decided to use the new generic syntax, but dropping support for older Python versions would be a breaking change, so I kept the old syntax. I've removed the mention of this from the PR description.

@Mockird31
Mockird31 force-pushed the mockird31/gh-170-implement-dsn branch from b9c2cdd to 7c6e378 Compare October 15, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement dsn support for connect() method

3 participants