-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[components] api doc refresh #30231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[components] api doc refresh #30231
Conversation
026d33e to
5384e8a
Compare
neverett
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few suggestions, including one to fix the broken API docs link, otherwise LGTM!
| - The assets the shell script is expected to produce | ||
|
|
||
| The `ShellCommand` class inherits from <PyObject section="resolved" module="dagster.components" object="Resolvable" />, in addition to <PyObject section="components" module="dagster.components" object="Component" />. `Resolvable` handles deriving a YAML schema for the `ShellCommand` class based on what the class is annotated with. To simplify common use cases, Dagster provides annotations for common bits of configuration, such as `ResolvedAssetSpec`, which will handle exposing a schema for defining <PyObject section="assets" module="dagster" object="AssetSpec" pluralize /> from YAML and resolving them before instantiating the component. | ||
| The `ShellCommand` class inherits from <PyObject section="resolved" module="dagster" object="Resolvable" />, in addition to <PyObject section="components" module="dagster" object="Component" />. `Resolvable` handles deriving a YAML schema for the `ShellCommand` class based on what the class is annotated with. To simplify common use cases, Dagster provides annotations for common bits of configuration, such as `ResolvedAssetSpec`, which will handle exposing a schema for defining <PyObject section="assets" module="dagster" object="AssetSpec" pluralize /> from YAML and resolving them before instantiating the component. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The `ShellCommand` class inherits from <PyObject section="resolved" module="dagster" object="Resolvable" />, in addition to <PyObject section="components" module="dagster" object="Component" />. `Resolvable` handles deriving a YAML schema for the `ShellCommand` class based on what the class is annotated with. To simplify common use cases, Dagster provides annotations for common bits of configuration, such as `ResolvedAssetSpec`, which will handle exposing a schema for defining <PyObject section="assets" module="dagster" object="AssetSpec" pluralize /> from YAML and resolving them before instantiating the component. | |
| The `ShellCommand` class inherits from <PyObject section="components" module="dagster" object="Resolvable" />, in addition to <PyObject section="components" module="dagster" object="Component" />. `Resolvable` handles deriving a YAML schema for the `ShellCommand` class based on what the class is annotated with. To simplify common use cases, Dagster provides annotations for common bits of configuration, such as `ResolvedAssetSpec`, which will handle exposing a schema for defining <PyObject section="assets" module="dagster" object="AssetSpec" pluralize /> from YAML and resolving them before instantiating the component. |
| ----------- | ||
|
|
||
| These Annotated TypeAliases can be used when defining custom Components for | ||
| common dagster types. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| common dagster types. | |
| common Dagster types. |
| .. py:data:: ResolvedAssetKey | ||
| :type: Annotated[AssetKey, ...] | ||
|
|
||
| Allows resolving to an AssetKey via a yaml friendly schema. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Allows resolving to an AssetKey via a yaml friendly schema. | |
| Allows resolving to an AssetKey via a YAML-friendly schema. |
| .. py:data:: ResolvedAssetSpec | ||
| :type: Annotated[AssetSpec, ...] | ||
|
|
||
| Allows resolving to an AssetSpec via a yaml friendly schema. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Allows resolving to an AssetSpec via a yaml friendly schema. | |
| Allows resolving to an AssetSpec via a YAML-friendly schema. |
| .. py:data:: ResolvedAssetCheckSpec | ||
| :type: Annotated[AssetCheckSpec, ...] | ||
|
|
||
| Allows resolving to an AssetCheckSpec via a yaml friendly schema. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Allows resolving to an AssetCheckSpec via a yaml friendly schema. | |
| Allows resolving to an AssetCheckSpec via a YAML-friendly schema. |
fafa0f6 to
ba77328
Compare
|
Deploy preview for dagster-docs ready! Preview available at https://dagster-docs-dglsmu7z5-elementl.vercel.app Direct link to changed pages: |
Merge activity
|

How I Tested These Changes
rebuild api docs and run docs locally, look at api docs entry for components