$
Dollar symbol in PREFECT_API_DATABASE_CONNECTION_URL
setting causes ValueError
when resolving default_database_connection_url
#11067
Labels
bug
Something isn't working
First check
Bug summary
When prefect's db connection url contains
$
followed by non-alphabetic character, it raises ValueError. Because, it tries to use python'sstring.template.substitute
which behaves like so.Example DB connection url:
postgresql+asyncpg://yoda:?0YpAwMy$&adQqcjSERqkqqc6BnS@some-domain.amazonaws.com:5432/prefect2
Reproduction
Error
Versions
Additional context
No response
The text was updated successfully, but these errors were encountered: