Skip to main content

A dagster plugin for the DingTalk

Project description

钉钉与 Dagster 集成


介绍

该 Dagster 集成是为了更便捷的调用钉钉(DingTalk)的API,集成提供了两个 Dagster Resource 和若干 Dagster Op 的封装。

DingTalkWebhookResource

该 Dagster 资源允许定义一个钉钉自定义机器人的 Webhook 端点,发送文本、Markdown 、Link、 ActionCard、FeedCard 消息,消息具体样式可参考 钉钉开放平台 | 自定义机器人发送消息的消息类型

DingTalkAPIResource

该 Dagster 资源允许定义一个钉钉的 API Client,更加便捷地调用钉钉服务端 API ( 仅企业内部应用)

DingTalkWebhookOp

该类提供一些预定义的 Dagster Op ,以便于快速调用。

需要注意的是,这些 Op 都没有静态声明 required_resource_keys,而是需要根据 上下文配置 context.op_config 中的 dingtalk_webhook_key 键来动态查找 资源。在使用时,必须在 Job 中提供 resource_defs ,或在 User Code 全局 定义会使用到的 dingtalk_webhook_key

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dagster_dingtalk-0.1.5b1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dagster_dingtalk-0.1.5b1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file dagster_dingtalk-0.1.5b1.tar.gz.

File metadata

  • Download URL: dagster_dingtalk-0.1.5b1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for dagster_dingtalk-0.1.5b1.tar.gz
Algorithm Hash digest
SHA256 9abaf6000414d9d8d655382cd99ebd0ead69a8b370f112921a9ffe24414715f3
MD5 48e4274f9b5a6a05bae86aee9ff5d405
BLAKE2b-256 eedbf24789bc86896cd4d41d95cad3951e1c6bc073a0e12ef5989e0d6e164bf7

See more details on using hashes here.

File details

Details for the file dagster_dingtalk-0.1.5b1-py3-none-any.whl.

File metadata

File hashes

Hashes for dagster_dingtalk-0.1.5b1-py3-none-any.whl
Algorithm Hash digest
SHA256 f8f5d1b7cc280bc5e64bfc6d0ce3defe0ae84e473ab717c0dc5fdce942f9e6bc
MD5 848fe7b0fcb7a22d78526ae118e054b4
BLAKE2b-256 06cea8e91611ddde41517ff98fbf37695d3cb15810beb4957fef470efa8d0821

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page