Asset-centric data orchestration · @asset · Definitions · lineage · verified against Dagster 1.13.x (2026)

Dagster cheat sheet

Dagster orchestrates data pipelines around assets — the tables, files, and models you actually produce — rather than opaque tasks. You declare each asset as a Python function with @asset; Dagster infers the dependency graph from the function arguments, gives you lineage, materialization history, data-quality asset checks, and a rich UI. Wire everything into a Definitions object, develop with dagster dev (or the dg CLI/project scaffolding), and schedule with schedules, sensors, or declarative automation. Targets Dagster 1.13.x, Python 3.9+.

assets resources & IO schedules & sensors ops/jobs & partitions dev & ecosystem gotcha most common

Verified 2026-08-31 against the official docs at docs.dagster.io (Dagster 1.13.19, released 2026-08-21; Python 3.9+). Import root is import dagster as dg. Assets are the primary abstraction; ops/jobs are the lower-level layer. Companion to Airflow 3 & Prefect in this collection.

Outline

Declare @assets (deps inferred from args), attach resources & IO managers, add checks, collect into Definitions, then schedule/observe in the UI via dagster dev.

Assets

  1. 1Install & first asset
  2. 2Dependencies & graph
  3. 3Metadata & asset checks

Resources & IO

  1. 4Resources & config
  2. 5IO managers

Automation

  1. 6Definitions
  2. 7Schedules & sensors
  3. 8Partitions & backfills

Ops, dev & ecosystem

  1. 9Ops & jobs
  2. 10Dev, test & the dg CLI
  3. 11Integrations
  4. 12vs Airflow / Prefect

Assets

Declare what you produce; Dagster figures out the graph and tracks lineage.

1Install & first asset@asset
2Dependencies & graphinferred lineage
3Metadata & asset checksquality

Resources & IO

Inject external systems; let IO managers handle read/write & storage.

4Resources & configdependency injection
5IO managersread/write for you

Automation

Collect definitions, then run assets on a schedule, on events, or by partition.

6Definitionsthe entry point
7Schedules & sensorswhen to run
8Partitions & backfillsslice by time/key

Ops, Dev & Ecosystem

The lower-level layer, local dev & testing, and where Dagster sits.

9Ops & jobsthe lower level
10Dev, test & the dg CLIworkflow
11Integrationsthe toolbox
12vs Airflow / Prefectchoosing

Worth memorizing

import dagster as dgassets are the primary abstraction
@dg.assetfunction = a produced table/file/model
deps via arg namegraph inferred; deps= for order-only
@dg.asset_checkdata-quality tests bound to an asset
ConfigurableResource + EnvVarinjected, testable, secret-safe
IO managerreturn a value; it persists + reloads
dg.Definitions(...)the single entry point object
ScheduleDefinition / @sensorcron / event-driven
AutomationCondition.eager()declarative auto-materialize
partitions_defincremental by day/key; backfills
dagster dev / dglocal UI + project scaffolding
dagster-dbtdbt models become assets