p115client 0.0.5.11.2__tar.gz → 0.0.5.11.4__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.2 → p115client-0.0.5.11.4}/PKG-INFO +2 -2
  2. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/client.py +9 -4
  3. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/pyproject.toml +2 -2
  4. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/LICENSE +0 -0
  5. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/__init__.py +0 -0
  6. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/_upload.py +0 -0
  7. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/const.py +0 -0
  8. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/exception.py +0 -0
  9. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/py.typed +0 -0
  10. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/tool/__init__.py +0 -0
  11. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/tool/attr.py +0 -0
  12. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/tool/download.py +0 -0
  13. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/tool/edit.py +0 -0
  14. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/tool/export_dir.py +0 -0
  15. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/tool/fs_files.py +0 -0
  16. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/tool/history.py +0 -0
  17. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/tool/iterdir.py +0 -0
  18. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/tool/life.py +0 -0
  19. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/tool/pool.py +0 -0
  20. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/tool/request.py +0 -0
  21. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/tool/upload.py +0 -0
  22. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/tool/util.py +0 -0
  23. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/tool/xys.py +0 -0
  24. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/p115client/type.py +0 -0
  25. {p115client-0.0.5.11.2 → p115client-0.0.5.11.4}/readme.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: p115client
3
- Version: 0.0.5.11.2
3
+ Version: 0.0.5.11.4
4
4
  Summary: Python 115 webdisk client.
5
5
  Home-page: https://github.com/ChenyangGao/p115client
6
6
  License: MIT
@@ -33,7 +33,7 @@ Requires-Dist: posixpatht (>=0.0.3)
33
33
  Requires-Dist: python-argtools (>=0.0.1)
34
34
  Requires-Dist: python-asynctools (>=0.1.2)
35
35
  Requires-Dist: python-concurrenttools (>=0.0.8.2)
36
- Requires-Dist: python-cookietools (>=0.0.2.1)
36
+ Requires-Dist: python-cookietools (>=0.0.2.2)
37
37
  Requires-Dist: python-dictattr (>=0.0.4)
38
38
  Requires-Dist: python-encode_uri (>=0.0.1)
39
39
  Requires-Dist: python-filewrap (>=0.2.8)
@@ -1101,7 +1101,12 @@ def normalize_attr_simple[D: dict[str, Any]](
1101
1101
  *,
1102
1102
  dict_cls: None | type[D] = None,
1103
1103
  ) -> dict[str, Any] | D:
1104
- return normalize_attr(info, may_call=False, keep_raw=keep_raw, dict_cls=dict_cls)
1104
+ return normalize_attr(
1105
+ info,
1106
+ simple=False,
1107
+ keep_raw=keep_raw,
1108
+ dict_cls=dict_cls,
1109
+ )
1105
1110
 
1106
1111
 
1107
1112
  class IgnoreCaseDict[V](dict[str, V]):
@@ -6490,7 +6495,7 @@ class P115Client(P115OpenClient):
6490
6495
  lock = self.request_lock
6491
6496
  if is_open_api:
6492
6497
  if "authorization" not in headers:
6493
- yield lock.acquire
6498
+ yield lock.acquire()
6494
6499
  try:
6495
6500
  yield self.login_another_open(
6496
6501
  async_=async_, # type: ignore
@@ -6529,7 +6534,7 @@ class P115Client(P115OpenClient):
6529
6534
  cert_headers = yield fetch_cert_headers()
6530
6535
  headers.update(cert_headers)
6531
6536
  elif is_open_api:
6532
- yield lock.acquire
6537
+ yield lock.acquire()
6533
6538
  try:
6534
6539
  if cert != self.access_token:
6535
6540
  continue
@@ -6545,7 +6550,7 @@ class P115Client(P115OpenClient):
6545
6550
  finally:
6546
6551
  lock.release()
6547
6552
  else:
6548
- yield lock.acquire
6553
+ yield lock.acquire()
6549
6554
  try:
6550
6555
  cookies_new: str = self.cookies_str
6551
6556
  if cookies_equal(cert, cookies_new):
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "p115client"
3
- version = "0.0.5.11.2"
3
+ version = "0.0.5.11.4"
4
4
  description = "Python 115 webdisk client."
5
5
  authors = ["ChenyangGao <wosiwujm@gmail.com>"]
6
6
  license = "MIT"
@@ -41,7 +41,7 @@ posixpatht = ">=0.0.3"
41
41
  python-argtools = ">=0.0.1"
42
42
  python-asynctools = ">=0.1.2"
43
43
  python-concurrenttools = ">=0.0.8.2"
44
- python-cookietools = ">=0.0.2.1"
44
+ python-cookietools = ">=0.0.2.2"
45
45
  python-dictattr = ">=0.0.4"
46
46
  python-encode_uri = ">=0.0.1"
47
47
  python-filewrap = ">=0.2.8"
File without changes