-
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.
[components] Move dagster_components.lib components to top-level
- Loading branch information
Showing
54 changed files
with
179 additions
and
193 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.lib import SlingReplicationCollectionComponent | ||
from dagster_components 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
22 changes: 10 additions & 12 deletions
22
...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,15 +1,13 @@ | ||
dg list component-type | ||
|
||
Using /.../my-existing-project/.venv/bin/dagster-components | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┓ | ||
┃ Component Type ┃ Summary ┃ | ||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━┩ | ||
│ dagster_components.lib.DefinitionsComponent │ Wraps an arbitrary │ | ||
│ │ set of Dagster │ | ||
│ │ definitions. │ | ||
│ dagster_components.lib.PipesSubprocessScriptCollectionComponent │ Assets that wrap │ | ||
│ │ Python scripts │ | ||
│ │ executed with │ | ||
│ │ Dagster's │ | ||
│ │ PipesSubprocessClie… │ | ||
└─────────────────────────────────────────────────────────────────┴──────────────────────┘ | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┓ | ||
┃ 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. │ | ||
└─────────────────────────────────────────────────────────────┴──────────────────────────┘ |
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
35 changes: 16 additions & 19 deletions
35
...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,22 +1,19 @@ | ||
dg list component-type | ||
|
||
Using /.../jaffle-platform/.venv/bin/dagster-components | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┓ | ||
┃ Component Type ┃ Summary ┃ | ||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━┩ | ||
│ dagster_components.lib.DbtProjectComponent │ Expose a DBT project │ | ||
│ │ to Dagster as a set │ | ||
│ │ of assets. │ | ||
│ dagster_components.lib.DefinitionsComponent │ Wraps an arbitrary │ | ||
│ │ set of Dagster │ | ||
│ │ definitions. │ | ||
│ dagster_components.lib.PipesSubprocessScriptCollectionComponent │ Assets that wrap │ | ||
│ │ Python scripts │ | ||
│ │ executed with │ | ||
│ │ Dagster's │ | ||
│ │ PipesSubprocessClie… │ | ||
│ dagster_components.lib.SlingReplicationCollectionComponent │ Expose one or more │ | ||
│ │ Sling replications │ | ||
│ │ to Dagster as │ | ||
│ │ assets. │ | ||
└─────────────────────────────────────────────────────────────────┴──────────────────────┘ | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┓ | ||
┃ 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. │ | ||
└─────────────────────────────────────────────────────────────┴──────────────────────────┘ |
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.lib.DbtProjectComponent jdbt --project-path dbt/jdbt | ||
dg scaffold component dagster_components.DbtProjectComponent jdbt --project-path dbt/jdbt | ||
|
||
Creating a Dagster component instance folder at /.../jaffle-platform/jaffle_platform/components/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
type: dagster_components.lib.DbtProjectComponent | ||
type: dagster_components.DbtProjectComponent | ||
|
||
attributes: | ||
dbt: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
type: dagster_components.lib.DbtProjectComponent | ||
type: dagster_components.DbtProjectComponent | ||
|
||
attributes: | ||
dbt: | ||
|
22 changes: 10 additions & 12 deletions
22
...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,14 +1,12 @@ | ||
dg list component-type | ||
|
||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┓ | ||
┃ Component Type ┃ Summary ┃ | ||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━┩ | ||
│ dagster_components.lib.DefinitionsComponent │ Wraps an arbitrary │ | ||
│ │ set of Dagster │ | ||
│ │ definitions. │ | ||
│ dagster_components.lib.PipesSubprocessScriptCollectionComponent │ Assets that wrap │ | ||
│ │ Python scripts │ | ||
│ │ executed with │ | ||
│ │ Dagster's │ | ||
│ │ PipesSubprocessClie… │ | ||
└─────────────────────────────────────────────────────────────────┴──────────────────────┘ | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┓ | ||
┃ 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. │ | ||
└─────────────────────────────────────────────────────────────┴──────────────────────────┘ |
29 changes: 13 additions & 16 deletions
29
...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,19 +1,16 @@ | ||
dg list component-type | ||
|
||
Using /.../jaffle-platform/.venv/bin/dagster-components | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┓ | ||
┃ Component Type ┃ Summary ┃ | ||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━┩ | ||
│ dagster_components.lib.DefinitionsComponent │ Wraps an arbitrary │ | ||
│ │ set of Dagster │ | ||
│ │ definitions. │ | ||
│ dagster_components.lib.PipesSubprocessScriptCollectionComponent │ Assets that wrap │ | ||
│ │ Python scripts │ | ||
│ │ executed with │ | ||
│ │ Dagster's │ | ||
│ │ PipesSubprocessClie… │ | ||
│ dagster_components.lib.SlingReplicationCollectionComponent │ Expose one or more │ | ||
│ │ Sling replications │ | ||
│ │ to Dagster as │ | ||
│ │ assets. │ | ||
└─────────────────────────────────────────────────────────────────┴──────────────────────┘ | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┓ | ||
┃ 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. │ | ||
└─────────────────────────────────────────────────────────────┴──────────────────────────┘ |
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.lib.SlingReplicationCollectionComponent' ingest_files | ||
dg scaffold component 'dagster_components.SlingReplicationCollectionComponent' ingest_files | ||
|
||
Creating a Dagster component instance folder at /.../jaffle-platform/jaffle_platform/components/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.lib.DefinitionsComponent | ||
type: dagster_components.DefinitionsComponent | ||
|
||
attributes: | ||
definitions_path: definitions.py |
3 changes: 1 addition & 2 deletions
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.