Skip to content

Let Vault properties be set in DSN query parameters#2012

Merged
rolandwalker merged 1 commit into
mainfrom
RW/set-vault-properties-via-dsn-parameters
Jul 14, 2026
Merged

Let Vault properties be set in DSN query parameters#2012
rolandwalker merged 1 commit into
mainfrom
RW/set-vault-properties-via-dsn-parameters

Conversation

@rolandwalker

Copy link
Copy Markdown
Contributor

Description

Let Vault properties be set in DSN query parameters.

It is becoming awkward to pass compute_current_dsn() the Cursor for computation of the DSN, because there are so many exceptions to pass forward based on SSH and Vault connections.

In a followup, we should simply compute the DSN earlier, and then pass fewer parameters to connect().

Checklist

  • I added this contribution to the changelog.md file.
  • I added my name to the AUTHORS file (or it's already there).
  • To lint and format the code, I ran
    uv run ruff check && uv run ruff format && uv run mypy --install-types .

It is becoming awkward to pass compute_current_dsn() the Cursor for
computation of the DSN, because there are so many exceptions to pass
forward based on SSH and Vault connections.

In a followup, we should simply compute the DSN earlier, and then pass
fewer parameters to connect().
@rolandwalker rolandwalker self-assigned this Jul 14, 2026
@rolandwalker rolandwalker merged commit 64f5253 into main Jul 14, 2026
11 checks passed
@rolandwalker rolandwalker deleted the RW/set-vault-properties-via-dsn-parameters branch July 14, 2026 09:42
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.

1 participant