Components framework
Component
- @dagster.components.component [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.
Decorator for a function to be used to load an instance of a Component. This is used when instantiating components in python instead of via yaml.
class
dagster.components.Component [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.
Components are a tool for dynamically creating Dagster definitions. A Component subclass must implement the build_defs method. It may also inherit from Resolvable or implement get_model_cls to support instantiation via yaml.
ComponentLoadContext
class
dagster.components.ComponentLoadContext [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.
Context for loading a single component.
Model
class
dagster.components.Model [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.
pydantic BaseModel configured to disallow extra fields in order to help catch errors earlier.