cloudoll 3.0.3__tar.gz → 3.0.4__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-3.0.3 → cloudoll-3.0.4}/PKG-INFO +1 -1
- cloudoll-3.0.4/cloudoll/__init__.py +1 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/orm/field.py +3 -2
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/orm/model.py +2 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll.egg-info/PKG-INFO +1 -1
- {cloudoll-3.0.3 → cloudoll-3.0.4}/pyproject.toml +1 -1
- cloudoll-3.0.3/cloudoll/__init__.py +0 -1
- {cloudoll-3.0.3 → cloudoll-3.0.4}/LICENSE +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/README.md +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/__main__.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/cli.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/clitool/__init__.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/clitool/cli_main.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/clitool/m2d.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/clitool/process.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/clitool/spinner.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/clitool/watch.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/logging/__init__.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/mail/__init__.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/mail/smtp.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/orm/__init__.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/orm/base.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/orm/err.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/orm/mysql.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/orm/parse.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/orm/postgres.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/template/__init__.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/utils/__init__.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/utils/common.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/utils/snowflake.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/web/__init__.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/web/core.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/web/exception.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/web/html.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/web/jwt.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/web/requests.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll/web/settings.py +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll.egg-info/SOURCES.txt +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll.egg-info/dependency_links.txt +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll.egg-info/entry_points.txt +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll.egg-info/requires.txt +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/cloudoll.egg-info/top_level.txt +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/setup.cfg +0 -0
- {cloudoll-3.0.3 → cloudoll-3.0.4}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cloudoll
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.4
|
|
4
4
|
Summary: Assist in quickly creating distributable microservices based on aiohttp, with a focus on simplicity and ease of use.
|
|
5
5
|
Home-page: https://github.com/smallerqiu/cloudoll-py
|
|
6
6
|
Author: Qiu
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "3.0.4"
|
|
@@ -417,7 +417,8 @@ class Expression(FieldBase):
|
|
|
417
417
|
is_fun = isinstance(l, Function)
|
|
418
418
|
p = []
|
|
419
419
|
q = []
|
|
420
|
-
if not is_fun:
|
|
420
|
+
if not is_fun and not isinstance(l, Field):
|
|
421
|
+
# select no need ()
|
|
421
422
|
q.append("(")
|
|
422
423
|
if isinstance(l, Field):
|
|
423
424
|
q.append(l.full_name)
|
|
@@ -449,7 +450,7 @@ class Expression(FieldBase):
|
|
|
449
450
|
elif r is not None:
|
|
450
451
|
q.append("?")
|
|
451
452
|
p.append(r)
|
|
452
|
-
if not is_fun:
|
|
453
|
+
if not is_fun and not isinstance(l, Field):
|
|
453
454
|
q.append(")")
|
|
454
455
|
q = [str(num) for num in q]
|
|
455
456
|
return "".join(q), p
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cloudoll
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.4
|
|
4
4
|
Summary: Assist in quickly creating distributable microservices based on aiohttp, with a focus on simplicity and ease of use.
|
|
5
5
|
Home-page: https://github.com/smallerqiu/cloudoll-py
|
|
6
6
|
Author: Qiu
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "cloudoll"
|
|
7
|
-
version = "3.0.
|
|
7
|
+
version = "3.0.4"
|
|
8
8
|
description = "Assist in quickly creating distributable microservices based on aiohttp, with a focus on simplicity and ease of use."
|
|
9
9
|
authors = [
|
|
10
10
|
{name = "Qiu", email = "smallerqiu@gmail.com"},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "3.0.3"
|
|
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
|