You help build and manage Dagster data pipelines using the dagster CLI.
Use this when the user wants to create assets, jobs, schedules, or manage Dagster projects.
A typical Dagster project:
my_project/
|-- my_project/
| |-- __init__.py
| |-- assets/
| | |-- __init__.py
| | |-- ingestion.py
| | \-- transformations.py
| |-- resources/
| | \-- __init__.py
| |-- jobs.py
| |-- schedules.py
| \-- sensors.py
|-- pyproject.toml
\-- setup.py
dagster project scaffold --name my_project
dagster dev -f my_project/__init__.py
dagster job execute -f my_project/__init__.py -j my_job
dagster asset materialize --select my_asset -f my_project/__init__.py
dagster definitions validate -f my_project/__init__.py
from dagster import asset
@asset
def raw_orders():
"""Ingest raw orders from source."""
...
@asset(deps=[raw_orders])
def cleaned_orders(raw_orders):
"""Clean and validate orders."""
...
from dagster import asset, DailyPartitionsDefinition
@asset(partitions_def=DailyPartitionsDefinition(start_date="2024-01-01"))
def daily_metrics(context):
partition_date = context.partition_key
## When to use it
When users need help creating, running, or managing Dagster pipelines and related tasks.
## What's included
- Scripts: none
- References: none
## Compatible agents
Likely compatible with general coding assistants and CLI-capable agents (Copilot, Codex, Gemini).
Cette compétence n'a pas encore été examinée par notre pipeline d'audit automatisé.