MCPcopy Create free account
hub / github.com/dbunt1tled/python-fast-api / url

Function url

src/database/migrations/env.py:39–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37# my_important_option = config.get_main_option("my_important_option")
38# ... etc.
39def url() -> str:
40 db_url: str = str(app_config.sqlalchemy_database_uri)
41 return db_url if db_url else config.get_main_option("sqlalchemy.url", "")
42
43
44def import_entities(package) -> None: # type: ignore

Callers 2

run_migrations_offlineFunction · 0.85
run_async_migrationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected