kopia lustrzana https://github.com/bugout-dev/moonstream
Warning when using custom db engine
rodzic
0d40a05946
commit
1ebe2671d5
|
@ -167,6 +167,8 @@ class MoonstreamCustomDBEngine(DBEngine):
|
|||
def __init__(self, url: str, schema: Optional[str] = None) -> None:
|
||||
super().__init__(url=url, schema=schema)
|
||||
|
||||
logger.warning("Initialized custom database engine with specified URI")
|
||||
|
||||
self._session_local = sessionmaker(bind=self.engine)
|
||||
|
||||
self._yield_db_session_ctx = contextmanager(self.yield_db_session)
|
||||
|
|
|
@ -1 +1 @@
|
|||
0.1.0
|
||||
0.0.10
|
||||
|
|
Ładowanie…
Reference in New Issue