dagster-dingtalk 0.1.3__tar.gz → 0.1.4__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dagster-dingtalk
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: A dagster plugin for the DingTalk
5
5
  Author: YiZixuan
6
6
  Author-email: sqkkyzx@qq.com
@@ -5,7 +5,7 @@ from pydantic import Field
5
5
  class DingTalkWebhookOp:
6
6
  @staticmethod
7
7
  @op(description="使用钉钉 Webhook 发送文本消息",
8
- config_schema={"dingtalk_webhook_key": Field(str)},
8
+ config_schema={"dingtalk_webhook_key": str},
9
9
  ins={"text": In(str)},
10
10
  )
11
11
  def send_simple_text(context: OpExecutionContext, text):
@@ -14,7 +14,7 @@ class DingTalkWebhookOp:
14
14
 
15
15
  @staticmethod
16
16
  @op(description="使用钉钉 Webhook 发送 Markdown 消息",
17
- config_schema={"dingtalk_webhook_key": Field(str)},
17
+ config_schema={"dingtalk_webhook_key": str},
18
18
  ins={"text": In(str), "title": In(str, default_value='')},
19
19
  )
20
20
  def send_simple_markdown(context: OpExecutionContext, text, title):
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "dagster-dingtalk"
3
- version = "0.1.3"
3
+ version = "0.1.4"
4
4
  description = "A dagster plugin for the DingTalk"
5
5
  authors = ["YiZixuan <sqkkyzx@qq.com>"]
6
6
  readme = "README.md"