(url: str)
| 643 | |
| 644 | |
| 645 | def _normalize_database_url(url: str) -> str: |
| 646 | if url.startswith("postgres://"): |
| 647 | return "postgresql+psycopg://" + url[len("postgres://"):] |
| 648 | if url.startswith("postgresql://"): |
| 649 | return "postgresql+psycopg://" + url[len("postgresql://"):] |
| 650 | return url |
| 651 | |
| 652 | |
| 653 | def _value_to_string(value: Any) -> str: |
no outgoing calls
no test coverage detected