-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RFC: asset tutorial without AssetGroups (#7909)
- Loading branch information
Showing
5 changed files
with
30 additions
and
34 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
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
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
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
6 changes: 3 additions & 3 deletions
6
...nippets/docs_snippets_tests/guides_tests/asset_tutorial_tests/test_complex_asset_graph.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,13 +1,13 @@ | ||
from dagster import AssetGroup | ||
from dagster import load_assets_from_modules, materialize | ||
from docs_snippets.guides.dagster.asset_tutorial import complex_asset_graph | ||
from docs_snippets.guides.dagster.asset_tutorial.complex_asset_graph_tests import ( # pylint: disable=unused-import | ||
test_cereal_asset_group, | ||
test_cereal_assets, | ||
test_nabisco_cereals, | ||
) | ||
from docs_snippets.intro_tutorial.test_util import patch_cereal_requests | ||
|
||
|
||
@patch_cereal_requests | ||
def test_complex_asset_graph(): | ||
result = AssetGroup.from_modules([complex_asset_graph]).materialize() | ||
result = materialize(load_assets_from_modules([complex_asset_graph])) | ||
assert result.success |
2fbac77
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.
Successfully deployed to the following URLs:
dagster – ./docs/next
dagster.vercel.app
dagster-git-master-elementl.vercel.app
new-docs.dagster.io
dagster-elementl.vercel.app
docs.dagster.io