Fixed engine args
parent
e101db7d7d
commit
8a24303059
|
@ -247,7 +247,7 @@ class DiscordDatabaseInterface(DatabaseInterface):
|
||||||
class GeoffreyDatabase:
|
class GeoffreyDatabase:
|
||||||
|
|
||||||
def __init__(self, engine_arg):
|
def __init__(self, engine_arg):
|
||||||
self.engine = create_engine(engine_arg, echo=, pool_recycle=3600)
|
self.engine = create_engine(engine_arg, echo=True, pool_recycle=3600)
|
||||||
Session = sessionmaker(bind=self.engine)
|
Session = sessionmaker(bind=self.engine)
|
||||||
self.session = Session()
|
self.session = Session()
|
||||||
self.meta = MetaData()
|
self.meta = MetaData()
|
||||||
|
|
Loading…
Reference in New Issue