shadowshell 0.0.74__tar.gz → 0.0.75__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.
- {shadowshell-0.0.74 → shadowshell-0.0.75}/PKG-INFO +1 -1
- {shadowshell-0.0.74 → shadowshell-0.0.75}/pyproject.toml +1 -1
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/monitor/monitor.py +6 -2
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell.egg-info/PKG-INFO +1 -1
- {shadowshell-0.0.74 → shadowshell-0.0.75}/README.md +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/setup.cfg +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/__init__.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/boot/__init__.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/boot/starter.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/bootstrap.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/config/__init__.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/config/configurator.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/configurator.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/console_logger.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/file/__init__.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/file/file_util.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/git_shell.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/logger.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/logger_factory.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/logging/__init__.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/logging/console_logger.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/logging/logger.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/logging/logger_factory.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/logging/logging_constants.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/monitor/__init__.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/serialize/__init__.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/serialize/serializer.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/serialize/serializer_factory.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/serialize/serializer_json.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/stock_trader.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/test/__init__.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell/test/test.py +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell.egg-info/SOURCES.txt +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell.egg-info/dependency_links.txt +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell.egg-info/requires.txt +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/src/shadowshell.egg-info/top_level.txt +0 -0
- {shadowshell-0.0.74 → shadowshell-0.0.75}/tests/tests.py +0 -0
|
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "shadowshell" # 全局唯一名称(检查PyPI是否被占用)
|
|
7
7
|
#version = "0.0.41" # 版本号(每次更新需递增)
|
|
8
|
-
version = "0.0.
|
|
8
|
+
version = "0.0.75" # 版本号(每次更新需递增)
|
|
9
9
|
authors = [{ name = "shadowshell", email = "shadowshellxyz@foxmail.com" }]
|
|
10
10
|
description = "www.shadowshell.xyz"
|
|
11
11
|
readme = "README.md"
|
|
@@ -73,10 +73,14 @@ def __get_service_name(class_name, func_name):
|
|
|
73
73
|
return service_name
|
|
74
74
|
|
|
75
75
|
def __format_request(request):
|
|
76
|
-
|
|
76
|
+
if request is None:
|
|
77
|
+
return None
|
|
78
|
+
return request.__dict__
|
|
77
79
|
|
|
78
80
|
def __format_response(response):
|
|
79
|
-
|
|
81
|
+
if response is None:
|
|
82
|
+
return None
|
|
83
|
+
return response.__dict__
|
|
80
84
|
def __record_digest_log(monitor_name, class_name, func_name, cost, is_successed):
|
|
81
85
|
logger = LoggerFactory.get_logger()
|
|
82
86
|
logger.info(f"[{monitor_name}][DIGEST_LOG][{__get_service_name(class_name, func_name)}]successed={is_successed}, cost:{cost:.6f}s.")
|
|
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
|