Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
convert-examples 6.1/ feature_graph_backed_assets pyproject, @repository
-> Definitions (#11072)
- Loading branch information
Showing
5 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
examples/feature_graph_backed_assets/feature_graph_backed_assets/__init__.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 +1 @@ | ||
from .repository import feature_graph_backed_assets | ||
from .repository import defs |
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
8 changes: 2 additions & 6 deletions
8
examples/feature_graph_backed_assets/feature_graph_backed_assets_tests/test_assets.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,12 +1,8 @@ | ||
from feature_graph_backed_assets import feature_graph_backed_assets | ||
from feature_graph_backed_assets import defs | ||
|
||
from dagster._core.test_utils import instance_for_test | ||
|
||
|
||
def test_feature_graph_backed_assets(): | ||
with instance_for_test() as instance: | ||
assert ( | ||
feature_graph_backed_assets.get_job("airline_job") | ||
.execute_in_process(instance=instance) | ||
.success | ||
) | ||
assert defs.get_job_def("airline_job").execute_in_process(instance=instance).success |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.dagster] | ||
python_package = "feature_graph_backed_assets" |
This file was deleted.
Oops, something went wrong.