ygo 1.2.4__py3-none-any.whl → 1.2.6__py3-none-any.whl
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.
Potentially problematic release.
This version of ygo might be problematic. Click here for more details.
- ygo/__init__.py +1 -1
- ygo/pool.py +2 -2
- {ygo-1.2.4.dist-info → ygo-1.2.6.dist-info}/METADATA +2 -2
- ygo-1.2.6.dist-info/RECORD +11 -0
- ygo-1.2.4.dist-info/RECORD +0 -11
- {ygo-1.2.4.dist-info → ygo-1.2.6.dist-info}/WHEEL +0 -0
- {ygo-1.2.4.dist-info → ygo-1.2.6.dist-info}/licenses/LICENSE +0 -0
- {ygo-1.2.4.dist-info → ygo-1.2.6.dist-info}/top_level.txt +0 -0
ygo/__init__.py
CHANGED
ygo/pool.py
CHANGED
|
@@ -27,10 +27,10 @@ def run_job(job, task_id, queue):
|
|
|
27
27
|
try:
|
|
28
28
|
result = job()
|
|
29
29
|
except WarnException as e:
|
|
30
|
-
logger.warning(FailTaskError(task_name=job.task_name, error=e)
|
|
30
|
+
logger.warning(FailTaskError(task_name=job.task_name, error=e))
|
|
31
31
|
result = None
|
|
32
32
|
except Exception as e:
|
|
33
|
-
logger.
|
|
33
|
+
logger.error(FailTaskError(task_name=job.task_name, error=e), exc_info=e)
|
|
34
34
|
result = None
|
|
35
35
|
queue.put((task_id, 1))
|
|
36
36
|
return result
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ygo
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.6
|
|
4
4
|
Summary: 一个轻量级 Python 工具包,支持 并发执行(带进度条)、延迟调用、链式绑定参数、函数信息获取、模块/函数动态加载。
|
|
5
5
|
Project-URL: homepage, https://github.com/link-yundi/ygo
|
|
6
6
|
Project-URL: repository, https://github.com/link-yundi/ygo
|
|
@@ -8,7 +8,7 @@ Requires-Python: >=3.12
|
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
9
|
License-File: LICENSE
|
|
10
10
|
Requires-Dist: joblib>=1.5.0
|
|
11
|
-
Requires-Dist: logair>=1.0.
|
|
11
|
+
Requires-Dist: logair>=1.0.3
|
|
12
12
|
Requires-Dist: tqdm>=4.67.1
|
|
13
13
|
Dynamic: license-file
|
|
14
14
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
ygo/__init__.py,sha256=9oCvh2ESMzV0FN0aQdPYc-7XByhP2DnST9ov8DNdVq8,536
|
|
2
|
+
ygo/delay.py,sha256=66xtPXqyD630FL7LWL5qJKAIZvyGDwZyM4qPfk8Czlg,2206
|
|
3
|
+
ygo/exceptions.py,sha256=0OYDYt_9KKo8mF2XBG5QkCMr3-ASp69VDSPOEwlIsrI,660
|
|
4
|
+
ygo/lazy.py,sha256=NRE38vWKfA19fTRIbgCypdoxXhJulDtHMd7jw6CzhUc,1303
|
|
5
|
+
ygo/pool.py,sha256=fUl_v4GOU310TDqfpUPNJdjovCZwkbBP5xUdqd8jZvk,7095
|
|
6
|
+
ygo/utils.py,sha256=45ZM7FUraDA69jwf1arbBuuS-a0wMVf9sT7ma5bGd4E,6224
|
|
7
|
+
ygo-1.2.6.dist-info/licenses/LICENSE,sha256=6AKUWQ1xe-jwPSFv_H6FMQLNNWb7AYqzuEUTwlP2S8M,1067
|
|
8
|
+
ygo-1.2.6.dist-info/METADATA,sha256=hgUHIQjtRmaoaCGrrvD_fNWdVnn4SrF2YFHM2NXthHg,3582
|
|
9
|
+
ygo-1.2.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
10
|
+
ygo-1.2.6.dist-info/top_level.txt,sha256=4E07GOD3KS5--r4rP13upXfTEgk3JGJpQmMkdkJ4t74,4
|
|
11
|
+
ygo-1.2.6.dist-info/RECORD,,
|
ygo-1.2.4.dist-info/RECORD
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
ygo/__init__.py,sha256=a6PQR7VAoDV6CoTZfBF4G0yYdLBtT_Sawazd50VAXR0,536
|
|
2
|
-
ygo/delay.py,sha256=66xtPXqyD630FL7LWL5qJKAIZvyGDwZyM4qPfk8Czlg,2206
|
|
3
|
-
ygo/exceptions.py,sha256=0OYDYt_9KKo8mF2XBG5QkCMr3-ASp69VDSPOEwlIsrI,660
|
|
4
|
-
ygo/lazy.py,sha256=NRE38vWKfA19fTRIbgCypdoxXhJulDtHMd7jw6CzhUc,1303
|
|
5
|
-
ygo/pool.py,sha256=q1mywiL_BhRwbnDvKVL17aV6S4iHiX9wyysHFVUPV8Y,7120
|
|
6
|
-
ygo/utils.py,sha256=45ZM7FUraDA69jwf1arbBuuS-a0wMVf9sT7ma5bGd4E,6224
|
|
7
|
-
ygo-1.2.4.dist-info/licenses/LICENSE,sha256=6AKUWQ1xe-jwPSFv_H6FMQLNNWb7AYqzuEUTwlP2S8M,1067
|
|
8
|
-
ygo-1.2.4.dist-info/METADATA,sha256=6bMqX7pzdyHXDWtQHWH5LSXoE4GXL196b1SmJ9e8S4A,3582
|
|
9
|
-
ygo-1.2.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
10
|
-
ygo-1.2.4.dist-info/top_level.txt,sha256=4E07GOD3KS5--r4rP13upXfTEgk3JGJpQmMkdkJ4t74,4
|
|
11
|
-
ygo-1.2.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|