p123client 0.0.6.10.1__tar.gz → 0.0.6.10.2__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.
- {p123client-0.0.6.10.1 → p123client-0.0.6.10.2}/PKG-INFO +1 -1
- {p123client-0.0.6.10.1 → p123client-0.0.6.10.2}/p123client/client.py +10 -10
- {p123client-0.0.6.10.1 → p123client-0.0.6.10.2}/pyproject.toml +1 -1
- {p123client-0.0.6.10.1 → p123client-0.0.6.10.2}/LICENSE +0 -0
- {p123client-0.0.6.10.1 → p123client-0.0.6.10.2}/p123client/__init__.py +0 -0
- {p123client-0.0.6.10.1 → p123client-0.0.6.10.2}/p123client/const.py +0 -0
- {p123client-0.0.6.10.1 → p123client-0.0.6.10.2}/p123client/exception.py +0 -0
- {p123client-0.0.6.10.1 → p123client-0.0.6.10.2}/p123client/py.typed +0 -0
- {p123client-0.0.6.10.1 → p123client-0.0.6.10.2}/p123client/tool/__init__.py +0 -0
- {p123client-0.0.6.10.1 → p123client-0.0.6.10.2}/p123client/type.py +0 -0
- {p123client-0.0.6.10.1 → p123client-0.0.6.10.2}/readme.md +0 -0
@@ -505,7 +505,7 @@ class P123OpenClient:
|
|
505
505
|
client_id: str = "",
|
506
506
|
client_secret: str = "",
|
507
507
|
replace: bool | Self = False,
|
508
|
-
base_url: str | Callable[[], str] =
|
508
|
+
base_url: str | Callable[[], str] = DEFAULT_OPEN_BASE_URL,
|
509
509
|
*,
|
510
510
|
async_: Literal[False] = False,
|
511
511
|
**request_kwargs,
|
@@ -519,7 +519,7 @@ class P123OpenClient:
|
|
519
519
|
client_id: str = "",
|
520
520
|
client_secret: str = "",
|
521
521
|
replace: bool | Self = False,
|
522
|
-
base_url: str | Callable[[], str] =
|
522
|
+
base_url: str | Callable[[], str] = DEFAULT_OPEN_BASE_URL,
|
523
523
|
*,
|
524
524
|
async_: Literal[True],
|
525
525
|
**request_kwargs,
|
@@ -532,7 +532,7 @@ class P123OpenClient:
|
|
532
532
|
client_id: str = "",
|
533
533
|
client_secret: str = "",
|
534
534
|
replace: bool | Self = False,
|
535
|
-
base_url: str | Callable[[], str] =
|
535
|
+
base_url: str | Callable[[], str] = DEFAULT_OPEN_BASE_URL,
|
536
536
|
*,
|
537
537
|
async_: Literal[False, True] = False,
|
538
538
|
**request_kwargs,
|
@@ -674,7 +674,7 @@ class P123OpenClient:
|
|
674
674
|
client_secret: str,
|
675
675
|
redirect_uri: str,
|
676
676
|
token: str,
|
677
|
-
base_url: str | Callable[[], str] =
|
677
|
+
base_url: str | Callable[[], str] = DEFAULT_OPEN_BASE_URL,
|
678
678
|
*,
|
679
679
|
async_: Literal[False] = False,
|
680
680
|
**request_kwargs,
|
@@ -688,7 +688,7 @@ class P123OpenClient:
|
|
688
688
|
client_secret: str,
|
689
689
|
redirect_uri: str,
|
690
690
|
token: str,
|
691
|
-
base_url: str | Callable[[], str] =
|
691
|
+
base_url: str | Callable[[], str] = DEFAULT_OPEN_BASE_URL,
|
692
692
|
*,
|
693
693
|
async_: Literal[True],
|
694
694
|
**request_kwargs,
|
@@ -701,7 +701,7 @@ class P123OpenClient:
|
|
701
701
|
client_secret: str,
|
702
702
|
redirect_uri: str,
|
703
703
|
token: str,
|
704
|
-
base_url: str | Callable[[], str] =
|
704
|
+
base_url: str | Callable[[], str] = DEFAULT_OPEN_BASE_URL,
|
705
705
|
*,
|
706
706
|
async_: Literal[False, True] = False,
|
707
707
|
**request_kwargs,
|
@@ -745,7 +745,7 @@ class P123OpenClient:
|
|
745
745
|
cls,
|
746
746
|
/,
|
747
747
|
refresh_token: str,
|
748
|
-
base_url: str | Callable[[], str] =
|
748
|
+
base_url: str | Callable[[], str] = DEFAULT_OPEN_BASE_URL,
|
749
749
|
*,
|
750
750
|
async_: Literal[False] = False,
|
751
751
|
**request_kwargs,
|
@@ -756,7 +756,7 @@ class P123OpenClient:
|
|
756
756
|
cls,
|
757
757
|
/,
|
758
758
|
refresh_token: str,
|
759
|
-
base_url: str | Callable[[], str] =
|
759
|
+
base_url: str | Callable[[], str] = DEFAULT_OPEN_BASE_URL,
|
760
760
|
*,
|
761
761
|
async_: Literal[True],
|
762
762
|
**request_kwargs,
|
@@ -766,7 +766,7 @@ class P123OpenClient:
|
|
766
766
|
cls,
|
767
767
|
/,
|
768
768
|
refresh_token: str,
|
769
|
-
base_url: str | Callable[[], str] =
|
769
|
+
base_url: str | Callable[[], str] = DEFAULT_OPEN_BASE_URL,
|
770
770
|
*,
|
771
771
|
async_: Literal[False, True] = False,
|
772
772
|
**request_kwargs,
|
@@ -9904,7 +9904,7 @@ with temp_globals():
|
|
9904
9904
|
CLIENT_API_METHODS_MAP[api] = [name]
|
9905
9905
|
|
9906
9906
|
|
9907
|
-
# TODO:
|
9907
|
+
# TODO: 只有在使用密码登录和client_id登录的情况下,即使 token 失效,也可以重新登录(在有账号和密码的情况下,遇到 401 报错,会自动重新登录(需要加锁))
|
9908
9908
|
# TODO: 新的上传方法需要封装:https://123yunpan.yuque.com/org-wiki-123yunpan-muaork/cr6ced/xogi45g7okqk7svr
|
9909
9909
|
# TODO: 对于某些工具的接口封装,例如 重复文件清理
|
9910
9910
|
# TODO: 同步空间
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|