Dagster Shared Utilities

1.12.22 · active · verified Thu Apr 09

dagster-shared is an internal utility library providing common code, constants, and data structures shared between the core `dagster` package and other `dagster-` prefixed libraries (e.g., `dagster-dg-core`). It is not intended for direct use by end-users. The current version is 1.12.22, and it typically releases weekly or bi-weekly, synchronized with `dagster` core releases.

Warnings

Install

Imports

Quickstart

dagster-shared is an internal dependency and does not offer a direct quickstart for end-users. User code should typically interact with the `dagster` library directly. This example shows a basic Dagster asset definition, which internally leverages components from `dagster-shared`.

from dagster import Definitions, asset

@asset
def my_first_asset():
    return 123

defs = Definitions(assets=[my_first_asset])

# To run this, you would typically use the `dagster` CLI, e.g., `dagster dev`
# and load the Definitions from a Python file or module.
# dagster-shared itself does not have a direct user-facing quickstart as it's an internal utility.

view raw JSON →