File size: 267 Bytes
8450c71
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
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)