Compare commits
No commits in common. "1c694869bb466ba1b04bcd828825cbf6b7bdc3f5" and "fdde66f74c10888c212c77a0028ebed02906c113" have entirely different histories.
1c694869bb
...
fdde66f74c
@ -1,6 +1,6 @@
|
||||
[metadata]
|
||||
name=sqlor
|
||||
version = 2.0.1
|
||||
version = 2.0.0
|
||||
description = a new version of sqlor, each db's sor need to plugin to sqlor, and dbdriver now a isolated module
|
||||
authors = yu moqing
|
||||
author_email = yumoqing@gmail.com
|
||||
|
||||
@ -6,7 +6,6 @@ import codecs
|
||||
|
||||
from contextlib import asynccontextmanager
|
||||
|
||||
from appPublic.worker import get_event_loop
|
||||
from appPublic.myImport import myImport
|
||||
from appPublic.dictObject import DictObject
|
||||
from appPublic.Singleton import SingletonDecorator
|
||||
@ -74,7 +73,7 @@ class SqlorPool:
|
||||
class DBPools:
|
||||
def __init__(self,databases={},max_connect=100,loop=None):
|
||||
if loop is None:
|
||||
loop = get_event_loop()
|
||||
loop = asyncio.get_event_loop()
|
||||
self.loop = loop
|
||||
self.max_connect = max_connect
|
||||
self._pools = {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user