Registry / workflow / dagster-msteams

dagster-msteams

JSON →
library0.29.10pypypi✓ verified 84d ago

A Dagster resource for posting messages to Microsoft Teams via webhooks. Version 0.29.3, released as part of Dagster core 1.13.3. Supports Python 3.10-3.14. Follows Dagster library release cadence (roughly monthly).

pip install dagster-msteams
INSTALL
IMPORT
SIG · DAGSTER-MSTEAMS
D
dagster-msteams
workflowpythonv0.29.10
Install
12.4s avg
Import
—
Disk
133MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v0.29.10 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 131.5MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 12.4s · import 0.000s · 127MB
133MB installed
● package 133MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MSTeamsResource
✓ from dagster_msteams import MSTeamsResource
✗ from dagster_msteams import TeamsResource
Card
✓ from dagster_msteams import Card
make_teams_on_run_failure_sensor
✓ from dagster_msteams import make_teams_on_run_failure_sensor

Minimal setup: define a TeamsResource, optional failure sensor, and attach to job/sensor in Definitions.

import os from dagster import Definitions, job, op from dagster_msteams import TeamsResource, make_teams_on_run_failure_sensor @op def my_op(): return 1 @job def my_job(): my_op() # Resource requires WEBHOOK_URL env var or config teams_resource = TeamsResource( webhook_url=os.environ.get('TEAMS_WEBHOOK_URL', ''), webhook_resource_key="teams" ) # Optional: notify on run failure teams_sensor = make_teams_on_run_failure_sensor( webhook_url=os.environ.get('TEAMS_WEBHOOK_URL', ''), dagit_base_url="http://localhost:3000" ) defs = Definitions( jobs=[my_job], resources={"teams": teams_resource}, sensors=[teams_sensor] )
Debug
Known issues
breakingThe `TeamsResource` no longer accepts `webhook_url` during initialization as a positional argument; it must be passed as a keyword or via config.
fix
Use `TeamsResource(webhook_url=...)` explicitly.
affects: >=0.20.0
deprecated`make_teams_on_run_failure_sensor` is deprecated in favor of using `TeamsResource` directly with the core Dagster `RunFailureSensorContext`.
fix
Prefer creating a custom sensor using `TeamsResource` and `@run_failure_sensor`.
affects: >=0.28.0
gotchaWebhook URL must be a valid Microsoft Teams incoming webhook. Using a malformed URL will silently fail (no error raised).
fix
Validate webhook URL format: `https://outlook.office.com/webhook/...`.
affects: all
Upgrade
Version history
0.29.10latest on PyPI · released Jun 18, 2026
Audit
Dependencies
dagsterrequiredCore Dagster framework required for all integrations
Agent activity
39 hits · last 30 days
node
34
OpenAI (training)
1
Resources
dagster-msteams — pip install dagster-msteams · libregistry