ygo 1.1.5__py3-none-any.whl → 1.1.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 CHANGED
@@ -21,7 +21,7 @@ from .utils import (
21
21
  )
22
22
  from .lazy import lazy_import
23
23
 
24
- __version__ = "v1.1.5"
24
+ __version__ = "v1.1.6"
25
25
 
26
26
  __all__ = [
27
27
  "FailTaskError",
ygo/lazy.py CHANGED
@@ -39,8 +39,11 @@ class LazyImport:
39
39
  else:
40
40
  raise TypeError(f"The target `{self._full_name}` is not callable or instantiable.")
41
41
 
42
+ def __str__(self):
43
+ return self._full_name
44
+
42
45
  def __repr__(self):
43
- return f"<LazyImport '{self._full_name}'>"
46
+ return self._full_name
44
47
 
45
48
  def lazy_import(full_name: str):
46
49
  """实现模块和方法的懒加载"""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ygo
3
- Version: 1.1.5
3
+ Version: 1.1.6
4
4
  Summary: 一个轻量级 Python 工具包,支持 并发执行(带进度条)、延迟调用、链式绑定参数、函数信息获取、模块/函数动态加载。并结合 ylog 提供日志记录能力
5
5
  Project-URL: homepage, https://github.com/link-yundi/ygo
6
6
  Project-URL: repository, https://github.com/link-yundi/ygo
@@ -1,13 +1,13 @@
1
- ygo/__init__.py,sha256=ZxDlB9CV07FoZj-4UpQlu3JM31b4Y1IuxYhr4v8PliI,728
1
+ ygo/__init__.py,sha256=FLytzQXxm255WUZE_NgdMrKORq3UPE_YDjqRe9xAXDg,728
2
2
  ygo/delay.py,sha256=66xtPXqyD630FL7LWL5qJKAIZvyGDwZyM4qPfk8Czlg,2206
3
3
  ygo/exceptions.py,sha256=0OYDYt_9KKo8mF2XBG5QkCMr3-ASp69VDSPOEwlIsrI,660
4
- ygo/lazy.py,sha256=09ia9rSGPjzUy633aFvM5NZJYdUdc8-IfSZnKSmeb10,1285
4
+ ygo/lazy.py,sha256=IwWOv3zYWGGuFefvZwZyP-zokyB4EnQWmySstSk3dJg,1320
5
5
  ygo/pool.py,sha256=bnHm4TtnRoFBv5UvV7WpuObJoK4FdoRf65mvf82yEyI,7052
6
6
  ygo/utils.py,sha256=paeYb8TwonIaDwusE6YV9v_-Y-WzVjGgSa_c1mblw3Y,4040
7
- ygo-1.1.5.dist-info/licenses/LICENSE,sha256=6AKUWQ1xe-jwPSFv_H6FMQLNNWb7AYqzuEUTwlP2S8M,1067
7
+ ygo-1.1.6.dist-info/licenses/LICENSE,sha256=6AKUWQ1xe-jwPSFv_H6FMQLNNWb7AYqzuEUTwlP2S8M,1067
8
8
  ylog/__init__.py,sha256=S_M_Hv_gKI_U9XUNn3rCu5h9NHZndVMRfRjMs2sjHyw,452
9
9
  ylog/core.py,sha256=l8vrSgCLQGIeQN_mqw8rMNp3W7m41nqJIH48DHtW16c,9105
10
- ygo-1.1.5.dist-info/METADATA,sha256=g7xomDtsCM6Re1HxbYI9NBg6dv5jvRyujm6391mYWc0,4877
11
- ygo-1.1.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
- ygo-1.1.5.dist-info/top_level.txt,sha256=sY7lJBJ2ncfEMAxoNBVay0RVUixpVt9Osuwwy0_uWqU,9
13
- ygo-1.1.5.dist-info/RECORD,,
10
+ ygo-1.1.6.dist-info/METADATA,sha256=Iy7McK7cGWUbx7KMQv9lDfkcGqVhy4cv7qQnQeeaUxg,4877
11
+ ygo-1.1.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
+ ygo-1.1.6.dist-info/top_level.txt,sha256=sY7lJBJ2ncfEMAxoNBVay0RVUixpVt9Osuwwy0_uWqU,9
13
+ ygo-1.1.6.dist-info/RECORD,,
File without changes