-
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] Add *Component suffix to all component classes
[INTERNAL_BRANCH=sean/components/add-component-suffix]
- Loading branch information
Showing
38 changed files
with
258 additions
and
218 deletions.
There are no files selected for viewing
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
4 changes: 2 additions & 2 deletions
4
...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 SlingReplicationCollection | ||
from dagster_components.lib import SlingReplicationCollectionComponent | ||
|
||
|
||
class CustomSubclass(SlingReplicationCollection): ... | ||
class CustomSubclass(SlingReplicationCollectionComponent): ... |
4 changes: 2 additions & 2 deletions
4
...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
4 changes: 2 additions & 2 deletions
4
...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: 12 additions & 10 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,13 +1,15 @@ | ||
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.PipesSubprocessScriptCollection │ Assets that wrap Python │ | ||
│ │ scripts executed with │ | ||
│ │ Dagster's │ | ||
│ │ PipesSubprocessClient. │ | ||
└────────────────────────────────────────────────────────┴───────────────────────────────┘ | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┓ | ||
┃ 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… │ | ||
└─────────────────────────────────────────────────────────────────┴──────────────────────┘ |
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
34 changes: 19 additions & 15 deletions
34
...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,18 +1,22 @@ | ||
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.PipesSubprocessScriptCollection │ Assets that wrap Python │ | ||
│ │ scripts executed with │ | ||
│ │ Dagster's │ | ||
│ │ PipesSubprocessClient. │ | ||
│ dagster_components.lib.SlingReplicationCollection │ Expose one or more Sling │ | ||
│ │ replications to Dagster as │ | ||
│ │ assets. │ | ||
└────────────────────────────────────────────────────────┴───────────────────────────────┘ | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┓ | ||
┃ 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. │ | ||
└─────────────────────────────────────────────────────────────────┴──────────────────────┘ |
22 changes: 12 additions & 10 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,12 +1,14 @@ | ||
dg list component-type | ||
|
||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ | ||
┃ Component Type ┃ Summary ┃ | ||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ | ||
│ dagster_components.lib.DefinitionsComponent │ Wraps an arbitrary set of │ | ||
│ │ Dagster definitions. │ | ||
│ dagster_components.lib.PipesSubprocessScriptCollection │ Assets that wrap Python │ | ||
│ │ scripts executed with │ | ||
│ │ Dagster's │ | ||
│ │ PipesSubprocessClient. │ | ||
└────────────────────────────────────────────────────────┴───────────────────────────────┘ | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┓ | ||
┃ 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… │ | ||
└─────────────────────────────────────────────────────────────────┴──────────────────────┘ |
29 changes: 16 additions & 13 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,16 +1,19 @@ | ||
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.PipesSubprocessScriptCollection │ Assets that wrap Python │ | ||
│ │ scripts executed with │ | ||
│ │ Dagster's │ | ||
│ │ PipesSubprocessClient. │ | ||
│ dagster_components.lib.SlingReplicationCollection │ Expose one or more Sling │ | ||
│ │ replications to Dagster as │ | ||
│ │ assets. │ | ||
└────────────────────────────────────────────────────────┴───────────────────────────────┘ | ||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┓ | ||
┃ 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. │ | ||
└─────────────────────────────────────────────────────────────────┴──────────────────────┘ |
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.SlingReplicationCollection' ingest_files | ||
dg scaffold component 'dagster_components.lib.SlingReplicationCollectionComponent' ingest_files | ||
|
||
Creating a Dagster component instance folder at /.../jaffle-platform/jaffle_platform/components/ingest_files. | ||
Using /.../jaffle-platform/.venv/bin/dagster-components |
Oops, something went wrong.