import databases | |
import orm | |
import psycopg2 | |
database = databases.Database( | |
"postgresql+asyncpg://postgres:[email protected]:5432/postgres" | |
) | |
# databases = databases.Database(**args) | |
models = orm.ModelRegistry(database=database) | |
import databases | |
import orm | |
import psycopg2 | |
database = databases.Database( | |
"postgresql+asyncpg://postgres:[email protected]:5432/postgres" | |
) | |
# databases = databases.Database(**args) | |
models = orm.ModelRegistry(database=database) | |