-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
6 changed files
with
89 additions
and
161 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
examples/docs_snippets/docs_snippets_tests/guides_tests/asset_tutorial_tests/test_cereal.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,10 +1,10 @@ | ||
from dagster._core.definitions.load_assets_from_modules import assets_from_modules | ||
from dagster._core.definitions.load_assets_from_modules import load_assets_from_modules | ||
from dagster._core.definitions.materialize import materialize | ||
from docs_snippets.guides.dagster.asset_tutorial import cereal | ||
from docs_snippets.intro_tutorial.test_util import patch_cereal_requests | ||
|
||
|
||
@patch_cereal_requests | ||
def test_cereal(): | ||
assets, source_assets, _ = assets_from_modules([cereal]) | ||
assets, source_assets, _ = load_assets_from_modules([cereal]) | ||
assert materialize([*assets, *source_assets]) |
4 changes: 2 additions & 2 deletions
4
...snippets/docs_snippets_tests/guides_tests/asset_tutorial_tests/test_serial_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,10 +1,10 @@ | ||
from dagster._core.definitions.load_assets_from_modules import assets_from_modules | ||
from dagster._core.definitions.load_assets_from_modules import load_assets_from_modules | ||
from dagster._core.definitions.materialize import materialize | ||
from docs_snippets.guides.dagster.asset_tutorial import serial_asset_graph | ||
from docs_snippets.intro_tutorial.test_util import patch_cereal_requests | ||
|
||
|
||
@patch_cereal_requests | ||
def test_serial_asset_graph(): | ||
assets, source_assets, _ = assets_from_modules([serial_asset_graph]) | ||
assets, source_assets, _ = load_assets_from_modules([serial_asset_graph]) | ||
assert materialize([*assets, *source_assets]) |
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
Oops, something went wrong.