kopia lustrzana https://github.com/bugout-dev/moonstream
Black and fix version.
rodzic
3ed4d3bb74
commit
004f662bbb
|
@ -39,7 +39,9 @@ except:
|
|||
)
|
||||
|
||||
|
||||
def create_moonstream_engine(url: str, pool_size: int, statement_timeout: int, pool_pre_ping: bool = False):
|
||||
def create_moonstream_engine(
|
||||
url: str, pool_size: int, statement_timeout: int, pool_pre_ping: bool = False
|
||||
):
|
||||
# Pooling: https://docs.sqlalchemy.org/en/14/core/pooling.html#sqlalchemy.pool.QueuePool
|
||||
# Statement timeout: https://stackoverflow.com/a/44936982
|
||||
return create_engine(
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
Moonstream database version.
|
||||
"""
|
||||
|
||||
MOONSTREAMDB_VERSION = "0.3.1"
|
||||
MOONSTREAMDB_VERSION = "0.3.2"
|
||||
|
|
Ładowanie…
Reference in New Issue