mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
reworded fastapi code
This commit is contained in:
@@ -61,7 +61,6 @@ def get_connection_info() -> tuple[str, str, str, str, str | None]:
|
||||
f"{host=}\n"
|
||||
f"{port=}\n"
|
||||
f"{username=}\n"
|
||||
f"password{'***' if password else None}\n"
|
||||
)
|
||||
raise ValueError(error)
|
||||
return cast("tuple[str, str, str, str, str | None]", (database, host, port, username, password))
|
||||
|
||||
Reference in New Issue
Block a user