p115client 0.0.5.11.7.1__py3-none-any.whl → 0.0.5.11.7.2__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.
p115client/tool/attr.py CHANGED
@@ -5,8 +5,8 @@ __author__ = "ChenyangGao <https://chenyanggao.github.io>"
5
5
  __all__ = ["get_attr", "type_of_attr"]
6
6
  __doc__ = "这个模块提供了一些和文件或目录信息有关的函数"
7
7
 
8
- from collections.abc import Mapping
9
- from typing import overload, Literal
8
+ from collections.abc import Coroutine, Mapping
9
+ from typing import overload, Any, Literal
10
10
 
11
11
  from iterutils import run_gen_step
12
12
  from p115client import check_response, normalize_attr_web, P115Client
@@ -32,7 +32,7 @@ def get_attr(
32
32
  *,
33
33
  async_: Literal[True],
34
34
  **request_kwargs,
35
- ) -> dict:
35
+ ) -> Coroutine[Any, Any, dict]:
36
36
  ...
37
37
  def get_attr(
38
38
  client: str | P115Client,
@@ -41,7 +41,7 @@ def get_attr(
41
41
  *,
42
42
  async_: Literal[False, True] = False,
43
43
  **request_kwargs,
44
- ) -> dict:
44
+ ) -> dict | Coroutine[Any, Any, dict]:
45
45
  """获取文件或目录的信息
46
46
 
47
47
  :param client: 115 客户端或 cookies
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: p115client
3
- Version: 0.0.5.11.7.1
3
+ Version: 0.0.5.11.7.2
4
4
  Summary: Python 115 webdisk client.
5
5
  Home-page: https://github.com/ChenyangGao/p115client
6
6
  License: MIT
@@ -6,7 +6,7 @@ p115client/const.py,sha256=KqDGr9KsOnSkNVM3RIdQGptCMHbidMmZ_ffyFPiniww,7654
6
6
  p115client/exception.py,sha256=O4SlfjbtI9GPjzbzJrFaFUZENJFz2qA3VDEKZfdhHbc,3590
7
7
  p115client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  p115client/tool/__init__.py,sha256=NjT9rroMhLwKI7UlpSCksSsnB3GexXzxvhfunNWzjY0,386
9
- p115client/tool/attr.py,sha256=VRte9LuE2YG8nPIxbeetdzDJgZL5ZFVp7RzjpIXUPN4,2914
9
+ p115client/tool/attr.py,sha256=RmNm5uar2PVv1Me7xOWyM0JtZr-JqoglIIpF0WHGues,2979
10
10
  p115client/tool/download.py,sha256=CZJE5f1SHi26eCNTPcF5VjSoht8WTUYravEG219i4gk,61534
11
11
  p115client/tool/edit.py,sha256=kRz-Ee7KuNNlHhcVi4uHdh9DSfF1ZxUREIhK9x4hNIE,17771
12
12
  p115client/tool/export_dir.py,sha256=1r2qDuYIirtDkCBQfYXh6lbm06IStRpiom-ZjtIYdbo,24502
@@ -20,7 +20,7 @@ p115client/tool/upload.py,sha256=i6laoeG7GdNO7hvCDVBy8Yv2Is800wL7O5na6a3v70g,159
20
20
  p115client/tool/util.py,sha256=0o9TrXdoPcljgxDDRdxRon41bq1OjuUYCWsR0XLfmPo,3357
21
21
  p115client/tool/xys.py,sha256=vU28Px2yeQzIxxGkopJIpvV6TdOnWJ5xB6NPXpTgM0Y,10306
22
22
  p115client/type.py,sha256=7kOp98uLaYqcTTCgCrb3DRcl8ukMpn7ibsnVvtw2nG8,6250
23
- p115client-0.0.5.11.7.1.dist-info/LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
24
- p115client-0.0.5.11.7.1.dist-info/METADATA,sha256=gLBpBgItF8bDZtseomQxMYZP4Qi7MYaNX3M3JaVrm8U,8194
25
- p115client-0.0.5.11.7.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
26
- p115client-0.0.5.11.7.1.dist-info/RECORD,,
23
+ p115client-0.0.5.11.7.2.dist-info/LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
24
+ p115client-0.0.5.11.7.2.dist-info/METADATA,sha256=Kdd0GJUqFKezZHveZwK3jj-z61N5Ou2o5QIjn4V2WNw,8194
25
+ p115client-0.0.5.11.7.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
26
+ p115client-0.0.5.11.7.2.dist-info/RECORD,,