-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
214 additions
and
162 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...docs_beta_snippets/docs_beta_snippets/guides/components/custom-subclass/basic-subclass.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from dagster_components import SlingReplicationCollectionComponent | ||
from dagster_components.dagster_sling import SlingReplicationCollectionComponent | ||
|
||
|
||
class CustomSubclass(SlingReplicationCollectionComponent): ... |
2 changes: 1 addition & 1 deletion
2
...s/docs_beta_snippets/docs_beta_snippets/guides/components/custom-subclass/custom-scope.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...les/docs_beta_snippets/docs_beta_snippets/guides/components/custom-subclass/debug-mode.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 13 additions & 10 deletions
23
...ppets/docs_beta_snippets/guides/components/existing-project/8-dg-list-component-types.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
dg list component-type | ||
|
||
Using /.../my-existing-project/.venv/bin/dagster-components | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┓ | ||
┃ Component Type ┃ Summary ┃ | ||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━┩ | ||
│ dagster_components.DefinitionsComponent │ Wraps an arbitrary set │ | ||
│ │ of Dagster definitions. │ | ||
│ dagster_components.PipesSubprocessScriptCollectionComponent │ Assets that wrap Python │ | ||
│ │ scripts executed with │ | ||
│ │ Dagster's │ | ||
│ │ PipesSubprocessClient. │ | ||
└─────────────────────────────────────────────────────────────┴──────────────────────────┘ | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┓ | ||
┃ Component Type ┃ Summary ┃ | ||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━┩ | ||
│ dagster_components.dagster.DefinitionsComponent │ Wraps an │ | ||
│ │ arbitrary set of │ | ||
│ │ Dagster │ | ||
│ │ definitions. │ | ||
│ dagster_components.dagster.PipesSubprocessScriptCollectionComponent │ Assets that wrap │ | ||
│ │ Python scripts │ | ||
│ │ executed with │ | ||
│ │ Dagster's │ | ||
│ │ PipesSubprocess… │ | ||
└─────────────────────────────────────────────────────────────────────┴──────────────────┘ |
2 changes: 1 addition & 1 deletion
2
examples/docs_beta_snippets/docs_beta_snippets/guides/components/index/11-component.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 23 additions & 16 deletions
39
...s_beta_snippets/docs_beta_snippets/guides/components/index/18-dg-list-component-types.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,26 @@ | ||
dg list component-type | ||
|
||
Using /.../jaffle-platform/.venv/bin/dagster-components | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┓ | ||
┃ Component Type ┃ Summary ┃ | ||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━┩ | ||
│ dagster_components.DbtProjectComponent │ Expose a DBT project to │ | ||
│ │ Dagster as a set of │ | ||
│ │ assets. │ | ||
│ dagster_components.DefinitionsComponent │ Wraps an arbitrary set │ | ||
│ │ of Dagster definitions. │ | ||
│ dagster_components.PipesSubprocessScriptCollectionComponent │ Assets that wrap Python │ | ||
│ │ scripts executed with │ | ||
│ │ Dagster's │ | ||
│ │ PipesSubprocessClient. │ | ||
│ dagster_components.SlingReplicationCollectionComponent │ Expose one or more Sling │ | ||
│ │ replications to Dagster │ | ||
│ │ as assets. │ | ||
└─────────────────────────────────────────────────────────────┴──────────────────────────┘ | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓ | ||
┃ Component Type ┃ Summary ┃ | ||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩ | ||
│ dagster_components.dagster.DefinitionsComponent │ Wraps an │ | ||
│ │ arbitrary set │ | ||
│ │ of Dagster │ | ||
│ │ definitions. │ | ||
│ dagster_components.dagster.PipesSubprocessScriptCollectionComponent │ Assets that │ | ||
│ │ wrap Python │ | ||
│ │ scripts │ | ||
│ │ executed with │ | ||
│ │ Dagster's │ | ||
│ │ PipesSubproces… │ | ||
│ dagster_components.dagster_dbt.DbtProjectComponent │ Expose a DBT │ | ||
│ │ project to │ | ||
│ │ Dagster as a │ | ||
│ │ set of assets. │ | ||
│ dagster_components.dagster_sling.SlingReplicationCollectionComponent │ Expose one or │ | ||
│ │ more Sling │ | ||
│ │ replications to │ | ||
│ │ Dagster as │ | ||
│ │ assets. │ | ||
└──────────────────────────────────────────────────────────────────────┴─────────────────┘ |
2 changes: 1 addition & 1 deletion
2
...les/docs_beta_snippets/docs_beta_snippets/guides/components/index/19-dg-scaffold-jdbt.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
dg scaffold component dagster_components.DbtProjectComponent jdbt --project-path dbt/jdbt | ||
dg scaffold component dagster_components.dagster_dbt.DbtProjectComponent jdbt --project-path dbt/jdbt | ||
|
||
Creating a Dagster component instance folder at /.../jaffle-platform/jaffle_platform/defs/jdbt. | ||
Using /.../jaffle-platform/.venv/bin/dagster-components |
2 changes: 1 addition & 1 deletion
2
...ples/docs_beta_snippets/docs_beta_snippets/guides/components/index/20-component-jdbt.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/docs_beta_snippets/docs_beta_snippets/guides/components/index/23-project-jdbt.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 13 additions & 10 deletions
23
...cs_beta_snippets/docs_beta_snippets/guides/components/index/7-dg-list-component-types.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
dg list component-type | ||
|
||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┓ | ||
┃ Component Type ┃ Summary ┃ | ||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━┩ | ||
│ dagster_components.DefinitionsComponent │ Wraps an arbitrary set │ | ||
│ │ of Dagster definitions. │ | ||
│ dagster_components.PipesSubprocessScriptCollectionComponent │ Assets that wrap Python │ | ||
│ │ scripts executed with │ | ||
│ │ Dagster's │ | ||
│ │ PipesSubprocessClient. │ | ||
└─────────────────────────────────────────────────────────────┴──────────────────────────┘ | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┓ | ||
┃ Component Type ┃ Summary ┃ | ||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━┩ | ||
│ dagster_components.dagster.DefinitionsComponent │ Wraps an │ | ||
│ │ arbitrary set of │ | ||
│ │ Dagster │ | ||
│ │ definitions. │ | ||
│ dagster_components.dagster.PipesSubprocessScriptCollectionComponent │ Assets that wrap │ | ||
│ │ Python scripts │ | ||
│ │ executed with │ | ||
│ │ Dagster's │ | ||
│ │ PipesSubprocess… │ | ||
└─────────────────────────────────────────────────────────────────────┴──────────────────┘ |
32 changes: 19 additions & 13 deletions
32
...cs_beta_snippets/docs_beta_snippets/guides/components/index/8-dg-list-component-types.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
dg list component-type | ||
|
||
Using /.../jaffle-platform/.venv/bin/dagster-components | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┓ | ||
┃ Component Type ┃ Summary ┃ | ||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━┩ | ||
│ dagster_components.DefinitionsComponent │ Wraps an arbitrary set │ | ||
│ │ of Dagster definitions. │ | ||
│ dagster_components.PipesSubprocessScriptCollectionComponent │ Assets that wrap Python │ | ||
│ │ scripts executed with │ | ||
│ │ Dagster's │ | ||
│ │ PipesSubprocessClient. │ | ||
│ dagster_components.SlingReplicationCollectionComponent │ Expose one or more Sling │ | ||
│ │ replications to Dagster │ | ||
│ │ as assets. │ | ||
└─────────────────────────────────────────────────────────────┴──────────────────────────┘ | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓ | ||
┃ Component Type ┃ Summary ┃ | ||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩ | ||
│ dagster_components.dagster.DefinitionsComponent │ Wraps an │ | ||
│ │ arbitrary set │ | ||
│ │ of Dagster │ | ||
│ │ definitions. │ | ||
│ dagster_components.dagster.PipesSubprocessScriptCollectionComponent │ Assets that │ | ||
│ │ wrap Python │ | ||
│ │ scripts │ | ||
│ │ executed with │ | ||
│ │ Dagster's │ | ||
│ │ PipesSubproces… │ | ||
│ dagster_components.dagster_sling.SlingReplicationCollectionComponent │ Expose one or │ | ||
│ │ more Sling │ | ||
│ │ replications to │ | ||
│ │ Dagster as │ | ||
│ │ assets. │ | ||
└──────────────────────────────────────────────────────────────────────┴─────────────────┘ |
2 changes: 1 addition & 1 deletion
2
...a_snippets/docs_beta_snippets/guides/components/index/9-dg-scaffold-sling-replication.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
dg scaffold component 'dagster_components.SlingReplicationCollectionComponent' ingest_files | ||
dg scaffold component 'dagster_components.dagster_sling.SlingReplicationCollectionComponent' ingest_files | ||
|
||
Creating a Dagster component instance folder at /.../jaffle-platform/jaffle_platform/defs/ingest_files. | ||
Using /.../jaffle-platform/.venv/bin/dagster-components |
2 changes: 1 addition & 1 deletion
2
...s_beta_snippets/docs_beta_snippets/guides/components/migrating-definitions/3-scaffold.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
..._snippets/docs_beta_snippets/guides/components/migrating-definitions/6-component-yaml.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
type: dagster_components.DefinitionsComponent | ||
type: dagster_components.dagster.DefinitionsComponent | ||
|
||
attributes: | ||
definitions_path: definitions.py |
3 changes: 2 additions & 1 deletion
3
...es/docs_beta_snippets/docs_beta_snippets/guides/components/python-components/component.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.