p123client 0.0.6.6__py3-none-any.whl → 0.0.6.7__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.
p123client/client.py CHANGED
@@ -374,7 +374,7 @@ class P123OpenClient:
374
374
  check_response(resp)
375
375
  self.token = resp["data"]["accessToken"]
376
376
  return resp
377
- return run_gen_step(gen_step, async_=async_)
377
+ return run_gen_step(gen_step, async_)
378
378
 
379
379
  @overload
380
380
  @staticmethod
@@ -2860,7 +2860,7 @@ class P123OpenClient:
2860
2860
  "duplicate": duplicate,
2861
2861
  "slice_size": slice_size,
2862
2862
  }) from e
2863
- return run_gen_step(gen_step, async_=async_)
2863
+ return run_gen_step(gen_step, async_)
2864
2864
 
2865
2865
  @overload
2866
2866
  def share_create(
@@ -4216,7 +4216,7 @@ class P123OpenClient:
4216
4216
  "duplicate": duplicate,
4217
4217
  "slice_size": slice_size,
4218
4218
  }) from e
4219
- return run_gen_step(gen_step, async_=async_)
4219
+ return run_gen_step(gen_step, async_)
4220
4220
 
4221
4221
  @overload
4222
4222
  def user_info(
@@ -4418,7 +4418,7 @@ class P123Client(P123OpenClient):
4418
4418
  check_response(resp)
4419
4419
  self.token = resp["data"]["token"]
4420
4420
  return resp
4421
- return run_gen_step(gen_step, async_=async_)
4421
+ return run_gen_step(gen_step, async_)
4422
4422
 
4423
4423
  @overload
4424
4424
  @staticmethod
@@ -4551,7 +4551,7 @@ class P123Client(P123OpenClient):
4551
4551
  async_=async_,
4552
4552
  **request_kwargs,
4553
4553
  )
4554
- return run_gen_step(gen_step, async_=async_)
4554
+ return run_gen_step(gen_step, async_)
4555
4555
 
4556
4556
  @overload
4557
4557
  def download_info_batch(
@@ -4712,7 +4712,7 @@ class P123Client(P123OpenClient):
4712
4712
  )
4713
4713
  check_response(resp)
4714
4714
  return resp["data"]["downloadUrl"]
4715
- return run_gen_step(gen_step, async_=async_)
4715
+ return run_gen_step(gen_step, async_)
4716
4716
 
4717
4717
  @overload
4718
4718
  def fs_copy(
@@ -4788,7 +4788,7 @@ class P123Client(P123OpenClient):
4788
4788
  async_=async_,
4789
4789
  **request_kwargs,
4790
4790
  )
4791
- return run_gen_step(gen_step, async_=async_)
4791
+ return run_gen_step(gen_step, async_)
4792
4792
 
4793
4793
  @overload
4794
4794
  def fs_detail(
@@ -7102,7 +7102,7 @@ class P123Client(P123OpenClient):
7102
7102
  async_=async_,
7103
7103
  **request_kwargs,
7104
7104
  )
7105
- return run_gen_step(gen_step, async_=async_)
7105
+ return run_gen_step(gen_step, async_)
7106
7106
 
7107
7107
  @overload
7108
7108
  def upload_file_fast(
@@ -7263,7 +7263,7 @@ class P123Client(P123OpenClient):
7263
7263
  async_=async_,
7264
7264
  **request_kwargs,
7265
7265
  )
7266
- return run_gen_step(gen_step, async_=async_)
7266
+ return run_gen_step(gen_step, async_)
7267
7267
 
7268
7268
  @overload
7269
7269
  def user_info(
@@ -73,7 +73,7 @@ def make_uri(
73
73
  size = info["Size"]
74
74
  s3_key_flag = info["S3KeyFlag"]
75
75
  return f"123://{name}|{size}|{md5}?{s3_key_flag}"
76
- return run_gen_step(gen_step, async_=async_)
76
+ return run_gen_step(gen_step, async_)
77
77
 
78
78
 
79
79
  @overload
@@ -213,7 +213,7 @@ def get_downurl(
213
213
  resp = yield client.download_info(payload, async_=async_, **request_kwargs)
214
214
  check_response(resp)
215
215
  return resp["data"]["DownloadUrl"]
216
- return run_gen_step(gen_step, async_=async_)
216
+ return run_gen_step(gen_step, async_)
217
217
 
218
218
 
219
219
  @overload
@@ -333,7 +333,7 @@ def _iterdir(
333
333
  break
334
334
  if next_id := resp["data"]["Next"]:
335
335
  payload["next"] = next_id
336
- return run_gen_step_iter(gen_step, async_=async_)
336
+ return run_gen_step_iter(gen_step, async_)
337
337
 
338
338
 
339
339
  @overload
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: p123client
3
- Version: 0.0.6.6
3
+ Version: 0.0.6.7
4
4
  Summary: Python 123 webdisk client.
5
5
  Home-page: https://github.com/ChenyangGao/p123client
6
6
  License: MIT
@@ -31,7 +31,7 @@ Requires-Dist: python-filewrap (>=0.2.6.1)
31
31
  Requires-Dist: python-hashtools (>=0.0.3.3)
32
32
  Requires-Dist: python-http_request (>=0.0.7)
33
33
  Requires-Dist: python-httpfile (>=0.0.5)
34
- Requires-Dist: python-iterutils (>=0.2)
34
+ Requires-Dist: python-iterutils (>=0.2.4.1)
35
35
  Requires-Dist: python-property (>=0.0.3)
36
36
  Requires-Dist: yarl
37
37
  Project-URL: Repository, https://github.com/ChenyangGao/p123client
@@ -1,12 +1,12 @@
1
1
  LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
2
2
  p123client/__init__.py,sha256=gfUum-q3f_XuXOk2HpArDAIxAlscZm8Fau1kiNkNFpg,214
3
- p123client/client.py,sha256=NrHeHzRb2FWHjLUw-nmrkXclYBfsozVenk5UkiW4sMo,251394
3
+ p123client/client.py,sha256=LtkU1WdF0VLHnViLKxQUWJZy_XnpqR2d1NjakRArw_Q,251331
4
4
  p123client/const.py,sha256=T17OzPQrnIG6w_Hzjc8TF_fFMKa-hQMSn1gff8pVcBc,56
5
5
  p123client/exception.py,sha256=020xGo8WQmGCJz1UzNg9oFzpEvToQcgTye0s6lkFASQ,1540
6
6
  p123client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- p123client/tool/__init__.py,sha256=aG-wkqZcOvI1p_XMInZ1QIwZJjQbdBktuZEGcp2vxvs,16475
7
+ p123client/tool/__init__.py,sha256=MFMue0hh3czAtfTf3yInzBgcNIWVVjO-8tHrPka4TGA,16454
8
8
  p123client/type.py,sha256=T17OzPQrnIG6w_Hzjc8TF_fFMKa-hQMSn1gff8pVcBc,56
9
- p123client-0.0.6.6.dist-info/LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
10
- p123client-0.0.6.6.dist-info/METADATA,sha256=i-yh3DNW8fDB7zhuKh2l3I7bXZycOQeey-zB_o_SkRs,8855
11
- p123client-0.0.6.6.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
12
- p123client-0.0.6.6.dist-info/RECORD,,
9
+ p123client-0.0.6.7.dist-info/LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
10
+ p123client-0.0.6.7.dist-info/METADATA,sha256=R3qLugQu4PhniLi-nuOUkMF06UNMmaLo77roC6YCan8,8859
11
+ p123client-0.0.6.7.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
12
+ p123client-0.0.6.7.dist-info/RECORD,,