cloudoll 2.2.18__tar.gz → 2.2.19__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cloudoll-2.2.18 → cloudoll-2.2.19}/PKG-INFO +1 -1
- cloudoll-2.2.19/cloudoll/__init__.py +1 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/orm/model.py +3 -1
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll.egg-info/PKG-INFO +1 -1
- cloudoll-2.2.18/cloudoll/__init__.py +0 -1
- {cloudoll-2.2.18 → cloudoll-2.2.19}/LICENSE +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/README.md +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/__main__.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/cli.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/error/__init__.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/error/errors.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/logging/__init__.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/mail/__init__.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/mail/smtp.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/orm/__init__.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/orm/base.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/orm/err.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/orm/field.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/orm/mysql.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/orm/parse.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/orm/postgres.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/robot/__init__.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/robot/dingtalk.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/robot/feishu.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/robot/slack.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/utils/__init__.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/utils/common.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/utils/m2d.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/utils/patch_loop.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/utils/watch.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/web/__init__.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/web/exception.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/web/html.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/web/http.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/web/jwt.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll/web/settings.py +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll.egg-info/SOURCES.txt +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll.egg-info/dependency_links.txt +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll.egg-info/entry_points.txt +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll.egg-info/requires.txt +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/cloudoll.egg-info/top_level.txt +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/setup.cfg +0 -0
- {cloudoll-2.2.18 → cloudoll-2.2.19}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.2.19"
|
|
@@ -4,6 +4,7 @@ from functools import reduce
|
|
|
4
4
|
import operator
|
|
5
5
|
import copy
|
|
6
6
|
import datetime
|
|
7
|
+
from ..utils.common import Object
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class ModelMetaclass(type):
|
|
@@ -295,7 +296,8 @@ class Model(metaclass=ModelMetaclass):
|
|
|
295
296
|
rs = await self.__pool__.one(sql, args)
|
|
296
297
|
if rs:
|
|
297
298
|
self._reset()
|
|
298
|
-
return self(**rs)
|
|
299
|
+
# return self(**rs)
|
|
300
|
+
return Object(rs)
|
|
299
301
|
# return cls(**rs)
|
|
300
302
|
return None
|
|
301
303
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.2.18"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|