p115client 0.0.5.11.7.1__tar.gz → 0.0.5.11.7.2__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 (25) hide show
  1. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/PKG-INFO +1 -1
  2. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/tool/attr.py +4 -4
  3. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/pyproject.toml +1 -1
  4. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/LICENSE +0 -0
  5. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/__init__.py +0 -0
  6. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/_upload.py +0 -0
  7. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/client.py +0 -0
  8. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/const.py +0 -0
  9. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/exception.py +0 -0
  10. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/py.typed +0 -0
  11. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/tool/__init__.py +0 -0
  12. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/tool/download.py +0 -0
  13. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/tool/edit.py +0 -0
  14. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/tool/export_dir.py +0 -0
  15. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/tool/fs_files.py +0 -0
  16. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/tool/history.py +0 -0
  17. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/tool/iterdir.py +0 -0
  18. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/tool/life.py +0 -0
  19. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/tool/pool.py +0 -0
  20. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/tool/request.py +0 -0
  21. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/tool/upload.py +0 -0
  22. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/tool/util.py +0 -0
  23. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/tool/xys.py +0 -0
  24. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/p115client/type.py +0 -0
  25. {p115client-0.0.5.11.7.1 → p115client-0.0.5.11.7.2}/readme.md +0 -0
@@ -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
@@ -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
  [tool.poetry]
2
2
  name = "p115client"
3
- version = "0.0.5.11.7.1"
3
+ version = "0.0.5.11.7.2"
4
4
  description = "Python 115 webdisk client."
5
5
  authors = ["ChenyangGao <wosiwujm@gmail.com>"]
6
6
  license = "MIT"