dagster-dingtalk 0.1.11__tar.gz → 0.1.12__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {dagster_dingtalk-0.1.11 → dagster_dingtalk-0.1.12}/PKG-INFO +1 -1
- {dagster_dingtalk-0.1.11 → dagster_dingtalk-0.1.12}/dagster_dingtalk/app_client.py +2 -9
- dagster_dingtalk-0.1.12/dagster_dingtalk/version.py +1 -0
- {dagster_dingtalk-0.1.11 → dagster_dingtalk-0.1.12}/pyproject.toml +1 -1
- dagster_dingtalk-0.1.11/dagster_dingtalk/version.py +0 -1
- {dagster_dingtalk-0.1.11 → dagster_dingtalk-0.1.12}/README.md +0 -0
- {dagster_dingtalk-0.1.11 → dagster_dingtalk-0.1.12}/dagster_dingtalk/__init__.py +0 -0
- {dagster_dingtalk-0.1.11 → dagster_dingtalk-0.1.12}/dagster_dingtalk/operations.py +0 -0
- {dagster_dingtalk-0.1.11 → dagster_dingtalk-0.1.12}/dagster_dingtalk/resources.py +0 -0
@@ -40,17 +40,10 @@ class DingTalkClient:
|
|
40
40
|
else:
|
41
41
|
try:
|
42
42
|
with open(access_token_cache, 'rb') as f:
|
43
|
-
|
43
|
+
all_access_token = pickle.loads(f.read())
|
44
44
|
except Exception as e:
|
45
45
|
logging.error(e)
|
46
|
-
|
47
|
-
renew_reason = "鉴权缓存读取错误"
|
48
|
-
|
49
|
-
if cache_file:
|
50
|
-
try:
|
51
|
-
all_access_token = pickle.loads(cache_file)
|
52
|
-
except pickle.PickleError:
|
53
|
-
renew_reason = f"鉴权缓存解析错误"
|
46
|
+
renew_reason = "鉴权缓存读取或解析错误"
|
54
47
|
|
55
48
|
if all_access_token:
|
56
49
|
app_access_token = all_access_token.get(self.app_id)
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.1.12"
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "0.1.11"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|