dagster-dingtalk 0.1.26__tar.gz → 0.1.28__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.
Files changed (21) hide show
  1. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/.idea/dagster-dingtalk.iml +1 -0
  2. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/.idea/workspace.xml +52 -38
  3. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/PKG-INFO +1 -1
  4. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/pyproject.toml +1 -1
  5. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/src/dagster_dingtalk/__init__.py +3 -3
  6. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/src/dagster_dingtalk/app_client.py +2 -1
  7. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/src/dagster_dingtalk/operations.py +2 -2
  8. dagster_dingtalk-0.1.28/src/dagster_dingtalk/py.typed +0 -0
  9. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/src/dagster_dingtalk/resources.py +1 -1
  10. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/.gitignore +0 -0
  11. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/.idea/.gitignore +0 -0
  12. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/.idea/deployment.xml +0 -0
  13. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/.idea/dictionaries/admin.xml +0 -0
  14. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/.idea/inspectionProfiles/Project_Default.xml +0 -0
  15. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/.idea/inspectionProfiles/profiles_settings.xml +0 -0
  16. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/.idea/misc.xml +0 -0
  17. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/.idea/modules.xml +0 -0
  18. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/.idea/vcs.xml +0 -0
  19. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/.python-version +0 -0
  20. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/README.md +0 -0
  21. {dagster_dingtalk-0.1.26 → dagster_dingtalk-0.1.28}/src/dagster_dingtalk/version.py +0 -0
@@ -2,6 +2,7 @@
2
2
  <module type="PYTHON_MODULE" version="4">
3
3
  <component name="NewModuleRootManager">
4
4
  <content url="file://$MODULE_DIR$">
5
+ <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
5
6
  <excludeFolder url="file://$MODULE_DIR$/.venv" />
6
7
  </content>
7
8
  <orderEntry type="jdk" jdkName="uv (dagster-dingtalk)" jdkType="Python SDK" />
@@ -4,18 +4,7 @@
4
4
  <option name="autoReloadType" value="SELECTIVE" />
5
5
  </component>
6
6
  <component name="ChangeListManager">
7
- <list default="true" id="d56e898e-6e80-4770-9a14-5869f3cdca54" name="更改" comment="">
8
- <change beforePath="$PROJECT_DIR$/.idea/dagster-dingtalk.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/dagster-dingtalk.iml" afterDir="false" />
9
- <change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
10
- <change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
11
- <change beforePath="$PROJECT_DIR$/dagster_dingtalk/__init__.py" beforeDir="false" />
12
- <change beforePath="$PROJECT_DIR$/dagster_dingtalk/app_client.py" beforeDir="false" />
13
- <change beforePath="$PROJECT_DIR$/dagster_dingtalk/operations.py" beforeDir="false" />
14
- <change beforePath="$PROJECT_DIR$/dagster_dingtalk/resources.py" beforeDir="false" />
15
- <change beforePath="$PROJECT_DIR$/dagster_dingtalk/version.py" beforeDir="false" />
16
- <change beforePath="$PROJECT_DIR$/poetry.lock" beforeDir="false" />
17
- <change beforePath="$PROJECT_DIR$/pyproject.toml" beforeDir="false" afterPath="$PROJECT_DIR$/pyproject.toml" afterDir="false" />
18
- </list>
7
+ <list default="true" id="d56e898e-6e80-4770-9a14-5869f3cdca54" name="更改" comment="修复相对路径引用问题" />
19
8
  <option name="SHOW_DIALOG" value="false" />
20
9
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
21
10
  <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -31,18 +20,18 @@
31
20
  <component name="Git.Settings">
32
21
  <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
33
22
  </component>
34
- <component name="GitHubPullRequestSearchHistory"><![CDATA[{
35
- "lastFilter": {
36
- "state": "OPEN",
37
- "assignee": "sqkkyzx"
23
+ <component name="GitHubPullRequestSearchHistory">{
24
+ &quot;lastFilter&quot;: {
25
+ &quot;state&quot;: &quot;OPEN&quot;,
26
+ &quot;assignee&quot;: &quot;sqkkyzx&quot;
38
27
  }
39
- }]]></component>
40
- <component name="GithubPullRequestsUISettings"><![CDATA[{
41
- "selectedUrlAndAccountId": {
42
- "url": "https://github.com/sqkkyzx/dagster-dingtalk.git",
43
- "accountId": "9d3116f2-0bce-4e24-9308-0425c6ec6992"
28
+ }</component>
29
+ <component name="GithubPullRequestsUISettings">{
30
+ &quot;selectedUrlAndAccountId&quot;: {
31
+ &quot;url&quot;: &quot;https://github.com/sqkkyzx/dagster-dingtalk.git&quot;,
32
+ &quot;accountId&quot;: &quot;9d3116f2-0bce-4e24-9308-0425c6ec6992&quot;
44
33
  }
45
- }]]></component>
34
+ }</component>
46
35
  <component name="ProblemsViewState">
47
36
  <option name="selectedTabId" value="CurrentFile" />
48
37
  </component>
@@ -54,22 +43,22 @@
54
43
  <option name="hideEmptyMiddlePackages" value="true" />
55
44
  <option name="showLibraryContents" value="true" />
56
45
  </component>
57
- <component name="PropertiesComponent"><![CDATA[{
58
- "keyToString": {
59
- "RunOnceActivity.ShowReadmeOnStart": "true",
60
- "RunOnceActivity.git.unshallow": "true",
61
- "git-widget-placeholder": "master",
62
- "ignore.virus.scanning.warn.message": "true",
63
- "last_opened_file_path": "C:/Users/admin/PycharmProjects/dagster-dingtalk/dagster-dingtalk/src/dagster_dingtalk",
64
- "node.js.detected.package.eslint": "true",
65
- "node.js.detected.package.tslint": "true",
66
- "node.js.selected.package.eslint": "(autodetect)",
67
- "node.js.selected.package.tslint": "(autodetect)",
68
- "nodejs_package_manager_path": "npm",
69
- "settings.editor.selected.configurable": "com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable",
70
- "vue.rearranger.settings.migration": "true"
46
+ <component name="PropertiesComponent">{
47
+ &quot;keyToString&quot;: {
48
+ &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
49
+ &quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
50
+ &quot;git-widget-placeholder&quot;: &quot;master&quot;,
51
+ &quot;ignore.virus.scanning.warn.message&quot;: &quot;true&quot;,
52
+ &quot;last_opened_file_path&quot;: &quot;C:/Users/admin/PycharmProjects/dagster-dingtalk&quot;,
53
+ &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
54
+ &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
55
+ &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
56
+ &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
57
+ &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
58
+ &quot;settings.editor.selected.configurable&quot;: &quot;com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable&quot;,
59
+ &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
71
60
  }
72
- }]]></component>
61
+ }</component>
73
62
  <component name="RecentsManager">
74
63
  <key name="CopyFile.RECENT_KEYS">
75
64
  <recent name="C:\Users\admin\PycharmProjects\dagster-dingtalk\dagster-dingtalk\src\dagster_dingtalk" />
@@ -98,11 +87,36 @@
98
87
  <option name="presentableId" value="Default" />
99
88
  <updated>1739380753646</updated>
100
89
  <workItem from="1739380754831" duration="1656000" />
101
- <workItem from="1739382420608" duration="13908000" />
90
+ <workItem from="1739382420608" duration="15436000" />
91
+ <workItem from="1739432477330" duration="36000" />
92
+ <workItem from="1739478013799" duration="20000" />
93
+ <workItem from="1739478384641" duration="1245000" />
102
94
  </task>
95
+ <task id="LOCAL-00001" summary="更改目录结构以便于使用 uv 构建和发布包">
96
+ <option name="closed" value="true" />
97
+ <created>1739399019442</created>
98
+ <option name="number" value="00001" />
99
+ <option name="presentableId" value="LOCAL-00001" />
100
+ <option name="project" value="LOCAL" />
101
+ <updated>1739399019442</updated>
102
+ </task>
103
+ <task id="LOCAL-00002" summary="修复相对路径引用问题">
104
+ <option name="closed" value="true" />
105
+ <created>1739478490313</created>
106
+ <option name="number" value="00002" />
107
+ <option name="presentableId" value="LOCAL-00002" />
108
+ <option name="project" value="LOCAL" />
109
+ <updated>1739478490313</updated>
110
+ </task>
111
+ <option name="localTasksCounter" value="3" />
103
112
  <servers />
104
113
  </component>
105
114
  <component name="TypeScriptGeneratedFilesManager">
106
115
  <option name="version" value="3" />
107
116
  </component>
117
+ <component name="VcsManagerConfiguration">
118
+ <MESSAGE value="更改目录结构以便于使用 uv 构建和发布包" />
119
+ <MESSAGE value="修复相对路径引用问题" />
120
+ <option name="LAST_COMMIT_MESSAGE" value="修复相对路径引用问题" />
121
+ </component>
108
122
  </project>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dagster-dingtalk
3
- Version: 0.1.26
3
+ Version: 0.1.28
4
4
  Summary: A dagster plugin for the DingTalk
5
5
  Author-email: YiZixuan <sqkkyzx@qq.com>
6
6
  Requires-Python: >=3.11
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dagster-dingtalk"
3
- version = "0.1.26"
3
+ version = "0.1.28"
4
4
  description = "A dagster plugin for the DingTalk"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -2,8 +2,8 @@
2
2
  # from dagster._core.libraries import DagsterLibraryRegistry
3
3
  # from dagster_dingtalk.version import __version__
4
4
 
5
- from .resources import DingTalkAppResource, DingTalkWebhookResource
6
- from .app_client import DingTalkClient as DingTalkAppClient
7
- import operations as dingtalk_op
5
+ from dagster_dingtalk.resources import DingTalkAppResource, DingTalkWebhookResource
6
+ from dagster_dingtalk.app_client import DingTalkClient as DingTalkAppClient
7
+ import dagster_dingtalk.operations as dingtalk_op
8
8
 
9
9
  # DagsterLibraryRegistry.register("dagster-dingtalk", __version__)
@@ -44,6 +44,7 @@ class DingTalkClient:
44
44
  self.互动卡片 = 互动卡片__(self)
45
45
  self.OA审批 = OA审批__(self)
46
46
  self.即时通信 = 即时通信__(self)
47
+ self.待办任务 = 待办任务__(self)
47
48
 
48
49
 
49
50
  def __init_clients(self):
@@ -360,7 +361,7 @@ class 通讯录管理__部门管理:
360
361
 
361
362
 
362
363
  # noinspection NonAsciiCharacters, PyPep8Naming
363
- class 待办任务:
364
+ class 待办任务__:
364
365
  def __init__(self, _client:DingTalkClient):
365
366
  self.__client:DingTalkClient = _client
366
367
 
@@ -1,6 +1,6 @@
1
1
  from dagster import In, OpExecutionContext, op, Out
2
- from .app_client import DingTalkClient
3
- from .resources import DingTalkWebhookResource
2
+ from dagster_dingtalk.app_client import DingTalkClient
3
+ from dagster_dingtalk.resources import DingTalkWebhookResource
4
4
 
5
5
 
6
6
  @op(description="钉钉Webhook发送文本消息",
File without changes
@@ -7,7 +7,7 @@ import urllib.parse
7
7
  from typing import Optional, Tuple, List, Literal
8
8
  import httpx
9
9
  from pydantic import Field
10
- from .app_client import DingTalkClient
10
+ from dagster_dingtalk.app_client import DingTalkClient
11
11
  from dagster import ConfigurableResource, InitResourceContext
12
12
 
13
13