MCPcopy Create free account
hub / github.com/0010aor/FlashNotes / SQLALCHEMY_DATABASE_URI

Method SQLALCHEMY_DATABASE_URI

backend/src/core/config.py:51–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

49 @computed_field # type: ignore[misc]
50 @property
51 def SQLALCHEMY_DATABASE_URI(self) -> PostgresDsn:
52 return MultiHostUrl.build(
53 scheme="postgresql+psycopg",
54 username=self.POSTGRES_USER,
55 password=self.POSTGRES_PASSWORD,
56 host=self.POSTGRES_SERVER,
57 port=self.POSTGRES_PORT,
58 path=self.POSTGRES_DB,
59 )
60
61 FIRST_SUPERUSER: str
62 FIRST_SUPERUSER_PASSWORD: str

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected