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.
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/PKG-INFO +1 -1
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/fs_files.py +3 -3
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/pyproject.toml +1 -1
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/LICENSE +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/__init__.py +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/_upload.py +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/client.py +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/const.py +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/exception.py +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/py.typed +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/__init__.py +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/download.py +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/edit.py +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/export_dir.py +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/iterdir.py +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/life.py +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/pool.py +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/request.py +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/upload.py +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/tool/xys.py +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/p115client/type.py +0 -0
- {p115client-0.0.5.6.8 → p115client-0.0.5.6.9}/readme.md +0 -0
@@ -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,
|
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,
|
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,
|
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)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|