p115client 0.0.5.6.8__tar.gz → 0.0.5.6.9__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 (22) hide show
  1. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/PKG-INFO +1 -1
  2. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/fs_files.py +3 -3
  3. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/pyproject.toml +1 -1
  4. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/LICENSE +0 -0
  5. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/__init__.py +0 -0
  6. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/_upload.py +0 -0
  7. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/client.py +0 -0
  8. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/const.py +0 -0
  9. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/exception.py +0 -0
  10. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/py.typed +0 -0
  11. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/__init__.py +0 -0
  12. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/download.py +0 -0
  13. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/edit.py +0 -0
  14. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/export_dir.py +0 -0
  15. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/iterdir.py +0 -0
  16. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/life.py +0 -0
  17. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/pool.py +0 -0
  18. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/request.py +0 -0
  19. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/upload.py +0 -0
  20. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/xys.py +0 -0
  21. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/type.py +0 -0
  22. {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/readme.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: p115client
3
- Version: 0.0.5.6.8
3
+ Version: 0.0.5.6.9
4
4
  Summary: Python 115 webdisk client.
5
5
  Home-page: https://github.com/ChenyangGao/p115client
6
6
  License: MIT
@@ -114,7 +114,7 @@ def iter_fs_files(
114
114
  "limit": first_page_size, "show_dir": 1, **payload,
115
115
  }
116
116
  cid = int(payload["cid"])
117
- if isinstance(client, P115OpenClient) or app == "open":
117
+ if not isinstance(client, P115Client) or app == "open":
118
118
  fs_files = partial(client.fs_files_open, **request_kwargs)
119
119
  elif app in ("", "web", "desktop", "harmony"):
120
120
  request_kwargs.setdefault("base_url", get_webapi_origin)
@@ -208,7 +208,7 @@ def iter_fs_files_threaded(
208
208
  "limit": page_size, "show_dir": 1, **payload,
209
209
  }
210
210
  cid = int(payload["cid"])
211
- if isinstance(client, P115OpenClient) or app == "open":
211
+ if not isinstance(client, P115Client) or app == "open":
212
212
  fs_files = partial(client.fs_files_open, **request_kwargs)
213
213
  elif app in ("", "web", "desktop", "harmony"):
214
214
  page_size = min(page_size, 1150)
@@ -322,7 +322,7 @@ async def iter_fs_files_asynchronized(
322
322
  "limit": page_size, "show_dir": 1, **payload,
323
323
  }
324
324
  cid = int(payload["cid"])
325
- if isinstance(client, P115OpenClient) or app == "open":
325
+ if not isinstance(client, P115Client) or app == "open":
326
326
  fs_files = partial(client.fs_files_open, **request_kwargs)
327
327
  elif app in ("", "web", "desktop", "harmony"):
328
328
  page_size = min(page_size, 1150)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "p115client"
3
- version = "0.0.5.6.8"
3
+ version = "0.0.5.6.9"
4
4
  description = "Python 115 webdisk client."
5
5
  authors = ["ChenyangGao <wosiwujm@gmail.com>"]
6
6
  license = "MIT"
File without changes
File without changes