bugfix
This commit is contained in:
parent
16c8e8c594
commit
d01955eb55
@ -1,22 +1,3 @@
|
|||||||
[project]
|
|
||||||
name="sqlor"
|
|
||||||
version = "1.0.2"
|
|
||||||
description = "a wrap for DBAPI, to make python run sql easy and safe"
|
|
||||||
authors = [{ name = "yu moqing", email = "yumoqing@gmail.com" }]
|
|
||||||
readme = "README.md"
|
|
||||||
requires-python = ">=3.8"
|
|
||||||
license = {text = "MIT"}
|
|
||||||
dependencies = [
|
|
||||||
"aiomysql",
|
|
||||||
"PyMySQL",
|
|
||||||
"aiosqlite",
|
|
||||||
"asyncio",
|
|
||||||
"jinja2"
|
|
||||||
]
|
|
||||||
|
|
||||||
[project.optional-dependencies]
|
|
||||||
dev = ["pytest", "black", "mypy"]
|
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools>=61", "wheel"]
|
requires = ["setuptools>=61", "wheel"]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
19
setup.cfg
Normal file
19
setup.cfg
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[metadata]
|
||||||
|
name=sqlor
|
||||||
|
version = 1.0.2
|
||||||
|
description = a wrap for DBAPI, to make python run sql easy and safe
|
||||||
|
authors = yu moqing
|
||||||
|
author_email = yumoqing@gmail.com
|
||||||
|
readme = README.md
|
||||||
|
license = {text = MIT}
|
||||||
|
|
||||||
|
[options]
|
||||||
|
packages = find:
|
||||||
|
requires-python = >=3.8
|
||||||
|
install_requires =
|
||||||
|
aiomysql
|
||||||
|
PyMySQL
|
||||||
|
aiosqlite
|
||||||
|
asyncio
|
||||||
|
jinja2
|
||||||
|
|
@ -120,6 +120,7 @@ class ConnectionPool(object):
|
|||||||
self.connectObject = {}
|
self.connectObject = {}
|
||||||
self.use_cnt = 0
|
self.use_cnt = 0
|
||||||
self.max_use = 1000
|
self.max_use = 1000
|
||||||
|
self.e_except = None
|
||||||
# self.lock = asyncio.Lock()
|
# self.lock = asyncio.Lock()
|
||||||
# self.lockstatus()
|
# self.lockstatus()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user