cloudoll 2.2.31__tar.gz → 2.2.32__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.31 → cloudoll-2.2.32}/PKG-INFO +1 -1
- cloudoll-2.2.32/cloudoll/__init__.py +1 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/web/settings.py +5 -3
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll.egg-info/PKG-INFO +1 -1
- cloudoll-2.2.31/cloudoll/__init__.py +0 -1
- {cloudoll-2.2.31 → cloudoll-2.2.32}/LICENSE +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/README.md +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/__main__.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/cli.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/error/__init__.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/error/errors.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/logging/__init__.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/mail/__init__.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/mail/smtp.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/orm/__init__.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/orm/base.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/orm/err.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/orm/field.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/orm/model.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/orm/mysql.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/orm/parse.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/orm/postgres.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/robot/__init__.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/robot/dingtalk.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/robot/feishu.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/robot/slack.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/utils/__init__.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/utils/common.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/utils/m2d.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/utils/patch_loop.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/utils/snowflake.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/utils/watch.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/web/__init__.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/web/exception.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/web/html.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/web/http.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/web/jwt.py +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll.egg-info/SOURCES.txt +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll.egg-info/dependency_links.txt +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll.egg-info/entry_points.txt +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll.egg-info/requires.txt +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll.egg-info/top_level.txt +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/setup.cfg +0 -0
- {cloudoll-2.2.31 → cloudoll-2.2.32}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.2.32"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import yaml
|
|
1
|
+
# import yaml
|
|
2
2
|
import os
|
|
3
3
|
from ..logging import print_error, print_info
|
|
4
|
+
from envyaml import EnvYAML
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
def get_config(env):
|
|
@@ -11,6 +12,7 @@ def get_config(env):
|
|
|
11
12
|
if not os.path.exists(conf_path):
|
|
12
13
|
print_error(f"Configuration file does not exist: {conf_path}")
|
|
13
14
|
return {}
|
|
14
|
-
with open(conf_path, "r", encoding="utf-8") as f:
|
|
15
|
-
|
|
15
|
+
# with open(conf_path, "r", encoding="utf-8") as f:
|
|
16
|
+
# config = yaml.safe_load(f)
|
|
17
|
+
config = EnvYAML(conf_path)
|
|
16
18
|
return config or {}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.2.31"
|
|
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
|
|
File without changes
|