Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-44444: Allow database passwords to be SecretStrs #246

Merged
merged 4 commits into from
May 21, 2024
Merged

Conversation

rra
Copy link
Member

@rra rra commented May 20, 2024

When initializing a database engine with create_database_engine or create_sync_session, allow the database password to be a SecretStr instead of a str. This simplifies the call for applications that use Pydantic with SecretStr for secrets.

Fix some places where development dependencies were out of date, and pin requests since the latest version breaks the docker library.

@rra rra requested a review from jonathansick May 20, 2024 22:19
@rra rra force-pushed the tickets/DM-44444 branch from 41fae0c to 91a7c33 Compare May 20, 2024 22:54
rra added 4 commits May 20, 2024 16:33
When initializing a database engine with create_database_engine or
create_sync_session, allow the database password to be a SecretStr
instead of a str. This simplifies the call for applications that
use Pydantic with SecretStr for secrets.
We've switched to Ruff for linting.
Depend on documenteer>=1 instead of an alpha version so that alpha
versions aren't picked up by default.
The latest version of requests breaks the docker library.
@rra rra force-pushed the tickets/DM-44444 branch from 91a7c33 to 6c76ca3 Compare May 20, 2024 23:33
Copy link
Member

@jonathansick jonathansick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks good, thanks.

@rra rra merged commit ad198fe into main May 21, 2024
6 checks passed
@rra rra deleted the tickets/DM-44444 branch May 21, 2024 16:18
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.

2 participants