Skip to main content

Resolved framework

Resolvable

class dagster.components.Resolvable [source]
preview

This API is currently in preview, and may have breaking changes in patch version releases. This API is not considered ready for production use.

This base class makes something able to “resolve” from yaml.

This is done by:

  1. Deriving a pydantic model to provide as schema for the yaml.
  2. Resolving an instance of the class by recursing over an instance of the derived model loaded from schema compliant yaml and evaluating any template strings.

The fields/init arguments of the class can be Annotated with Resolver to customize the resolution or model derivation.

ResolutionContext

class dagster.components.ResolutionContext [source]
preview

This API is currently in preview, and may have breaking changes in patch version releases. This API is not considered ready for production use.

The context available to Resolver functions when “resolving” from yaml in to a Resolvable object.

Resolver

class dagster.components.Resolver [source]
preview

This API is currently in preview, and may have breaking changes in patch version releases. This API is not considered ready for production use.

Contains information on how to resolve a field from a model.