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.
Files changed (44) hide show
  1. {cloudoll-2.2.31 → cloudoll-2.2.32}/PKG-INFO +1 -1
  2. cloudoll-2.2.32/cloudoll/__init__.py +1 -0
  3. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/web/settings.py +5 -3
  4. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll.egg-info/PKG-INFO +1 -1
  5. cloudoll-2.2.31/cloudoll/__init__.py +0 -1
  6. {cloudoll-2.2.31 → cloudoll-2.2.32}/LICENSE +0 -0
  7. {cloudoll-2.2.31 → cloudoll-2.2.32}/README.md +0 -0
  8. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/__main__.py +0 -0
  9. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/cli.py +0 -0
  10. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/error/__init__.py +0 -0
  11. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/error/errors.py +0 -0
  12. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/logging/__init__.py +0 -0
  13. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/mail/__init__.py +0 -0
  14. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/mail/smtp.py +0 -0
  15. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/orm/__init__.py +0 -0
  16. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/orm/base.py +0 -0
  17. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/orm/err.py +0 -0
  18. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/orm/field.py +0 -0
  19. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/orm/model.py +0 -0
  20. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/orm/mysql.py +0 -0
  21. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/orm/parse.py +0 -0
  22. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/orm/postgres.py +0 -0
  23. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/robot/__init__.py +0 -0
  24. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/robot/dingtalk.py +0 -0
  25. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/robot/feishu.py +0 -0
  26. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/robot/slack.py +0 -0
  27. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/utils/__init__.py +0 -0
  28. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/utils/common.py +0 -0
  29. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/utils/m2d.py +0 -0
  30. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/utils/patch_loop.py +0 -0
  31. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/utils/snowflake.py +0 -0
  32. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/utils/watch.py +0 -0
  33. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/web/__init__.py +0 -0
  34. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/web/exception.py +0 -0
  35. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/web/html.py +0 -0
  36. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/web/http.py +0 -0
  37. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll/web/jwt.py +0 -0
  38. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll.egg-info/SOURCES.txt +0 -0
  39. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll.egg-info/dependency_links.txt +0 -0
  40. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll.egg-info/entry_points.txt +0 -0
  41. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll.egg-info/requires.txt +0 -0
  42. {cloudoll-2.2.31 → cloudoll-2.2.32}/cloudoll.egg-info/top_level.txt +0 -0
  43. {cloudoll-2.2.31 → cloudoll-2.2.32}/setup.cfg +0 -0
  44. {cloudoll-2.2.31 → cloudoll-2.2.32}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cloudoll
3
- Version: 2.2.31
3
+ Version: 2.2.32
4
4
  Summary: 辅助快速创建可分布的微服务。
5
5
  Home-page: https://gitee.com/chuchur/cloudoll-py
6
6
  Author: chuchur
@@ -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
- config = yaml.safe_load(f)
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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cloudoll
3
- Version: 2.2.31
3
+ Version: 2.2.32
4
4
  Summary: 辅助快速创建可分布的微服务。
5
5
  Home-page: https://gitee.com/chuchur/cloudoll-py
6
6
  Author: chuchur
@@ -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