Fix unknown options for psycopg2 startup
Some checks failed
ci/woodpecker/push/check Pipeline failed
Some checks failed
ci/woodpecker/push/check Pipeline failed
This commit is contained in:
@@ -12,9 +12,7 @@ from xmpp_api.db.bot import Bot, AllowedJid
|
||||
def get_engine(config: ConfigDep) -> Engine:
|
||||
return create_engine(
|
||||
config.database.uri,
|
||||
connect_args={
|
||||
"check_same_thread": False,
|
||||
},
|
||||
connect_args=config.database.connect_args,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user