p115client 0.0.5.12.2__py3-none-any.whl → 0.0.5.12.2.1__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/fs_files.py +6 -6
- {p115client-0.0.5.12.2.dist-info → p115client-0.0.5.12.2.1.dist-info}/METADATA +1 -1
- {p115client-0.0.5.12.2.dist-info → p115client-0.0.5.12.2.1.dist-info}/RECORD +5 -5
- {p115client-0.0.5.12.2.dist-info → p115client-0.0.5.12.2.1.dist-info}/LICENSE +0 -0
- {p115client-0.0.5.12.2.dist-info → p115client-0.0.5.12.2.1.dist-info}/WHEEL +0 -0
p115client/tool/fs_files.py
CHANGED
@@ -37,7 +37,7 @@ def iter_fs_files(
|
|
37
37
|
payload: int | str | dict = 0,
|
38
38
|
/,
|
39
39
|
first_page_size: int = 0,
|
40
|
-
page_size: int =
|
40
|
+
page_size: int = 7_000,
|
41
41
|
count: int = -1,
|
42
42
|
callback: None | Callable[[dict], Any] = None,
|
43
43
|
app: str = "web",
|
@@ -53,7 +53,7 @@ def iter_fs_files(
|
|
53
53
|
payload: int | str | dict = 0,
|
54
54
|
/,
|
55
55
|
first_page_size: int = 0,
|
56
|
-
page_size: int =
|
56
|
+
page_size: int = 7_000,
|
57
57
|
count: int = -1,
|
58
58
|
callback: None | Callable[[dict], Any] = None,
|
59
59
|
app: str = "web",
|
@@ -68,7 +68,7 @@ def iter_fs_files(
|
|
68
68
|
payload: int | str | dict = 0,
|
69
69
|
/,
|
70
70
|
first_page_size: int = 0,
|
71
|
-
page_size: int =
|
71
|
+
page_size: int = 7_000,
|
72
72
|
count: int = -1,
|
73
73
|
callback: None | Callable[[dict], Any] = None,
|
74
74
|
app: str = "web",
|
@@ -95,7 +95,7 @@ def iter_fs_files(
|
|
95
95
|
if isinstance(client, str):
|
96
96
|
client = P115Client(client, check_for_relogin=True)
|
97
97
|
if page_size <= 0:
|
98
|
-
page_size =
|
98
|
+
page_size = 7_000
|
99
99
|
if not isinstance(client, P115Client) or app == "open":
|
100
100
|
page_size = min(page_size, 1150)
|
101
101
|
fs_files = partial(client.fs_files_open, **request_kwargs)
|
@@ -191,7 +191,7 @@ def iter_fs_files_threaded(
|
|
191
191
|
if isinstance(client, str):
|
192
192
|
client = P115Client(client, check_for_relogin=True)
|
193
193
|
if page_size <= 0:
|
194
|
-
page_size =
|
194
|
+
page_size = 7_000
|
195
195
|
if not isinstance(client, P115Client) or app == "open":
|
196
196
|
page_size = min(page_size, 1150)
|
197
197
|
fs_files = partial(client.fs_files_open, **request_kwargs)
|
@@ -306,7 +306,7 @@ async def iter_fs_files_asynchronized(
|
|
306
306
|
if isinstance(client, str):
|
307
307
|
client = P115Client(client, check_for_relogin=True)
|
308
308
|
if page_size <= 0:
|
309
|
-
page_size =
|
309
|
+
page_size = 7_000
|
310
310
|
fs_files: Callable[..., Awaitable[dict]]
|
311
311
|
if not isinstance(client, P115Client) or app == "open":
|
312
312
|
page_size = min(page_size, 1150)
|
@@ -11,7 +11,7 @@ p115client/tool/auth.py,sha256=qlRcfEjzebseiHR2dyBpOoPpxB4k8P6Tj729S2TLB1s,1672
|
|
11
11
|
p115client/tool/download.py,sha256=_Kp5_AKNAFmBXsUvL0zm8XBkPVlJxC4n4vj6-E0t6BE,61009
|
12
12
|
p115client/tool/edit.py,sha256=UCECvHYTy_GGpsaYbaNGtEBT0s5pMD4k1M-s8GG6iFI,17725
|
13
13
|
p115client/tool/export_dir.py,sha256=WZAiRFqe984-oXTEgkVhwHi4MTrExVL_tGZIzWCkdL0,24364
|
14
|
-
p115client/tool/fs_files.py,sha256=
|
14
|
+
p115client/tool/fs_files.py,sha256=3t1R-bDUdIUGwLMZ-GhHMRpYnkYYLcsI3MzFhJzg8g8,15890
|
15
15
|
p115client/tool/history.py,sha256=Hk7W1Qko6P68AoukNc-cYFoGV5XemtZBqWBEm4uKt5c,7416
|
16
16
|
p115client/tool/iterdir.py,sha256=t17T5XTCof7ZAbPKAzTAyhpVzfknVsJFb4SK5giXdsI,199635
|
17
17
|
p115client/tool/life.py,sha256=Ik8jdFM9_DiT5ivd5h2Hag4ViBVOY5WRCCrmbCqKnMY,17209
|
@@ -22,7 +22,7 @@ p115client/tool/upload.py,sha256=z8eD5BAlw6SgWdaJBJ4VtyDMPr8xG3wz6oCxE6xxPTg,325
|
|
22
22
|
p115client/tool/util.py,sha256=pAa8gc4BcnVTpNcXbNZU4tBUMjSB04DGOpzDdzfbto8,3934
|
23
23
|
p115client/tool/xys.py,sha256=Xx8sRh4h4jlowFhRMTDTtOhftgmhevehAU27jMsKh8s,10191
|
24
24
|
p115client/type.py,sha256=7kOp98uLaYqcTTCgCrb3DRcl8ukMpn7ibsnVvtw2nG8,6250
|
25
|
-
p115client-0.0.5.12.2.dist-info/LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
|
26
|
-
p115client-0.0.5.12.2.dist-info/METADATA,sha256=
|
27
|
-
p115client-0.0.5.12.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
28
|
-
p115client-0.0.5.12.2.dist-info/RECORD,,
|
25
|
+
p115client-0.0.5.12.2.1.dist-info/LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
|
26
|
+
p115client-0.0.5.12.2.1.dist-info/METADATA,sha256=FmHJh5jjGXC7gi8iwrMREWzFqUjbQObECcNJ9gAfgUs,8196
|
27
|
+
p115client-0.0.5.12.2.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
28
|
+
p115client-0.0.5.12.2.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|