-
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.
build_assets_job -> AssetGroup in SDA guide (#6879)
- Loading branch information
Showing
8 changed files
with
57 additions
and
58 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
examples/software_defined_assets/software_defined_assets/repo.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,8 +1,8 @@ | ||
from software_defined_assets.spark_weather_job import spark_weather_job | ||
from software_defined_assets.spark_weather_assets_group import spark_weather_assets | ||
|
||
from dagster import repository | ||
|
||
|
||
@repository | ||
def software_defined_assets(): | ||
return [spark_weather_job] | ||
return [spark_weather_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
5 changes: 5 additions & 0 deletions
5
.../software_defined_assets/software_defined_assets_tests/test_spark_weather_assets_group.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from software_defined_assets.spark_weather_assets_group import spark_weather_assets | ||
|
||
|
||
def test_airport_weather_assets(): | ||
assert spark_weather_assets.build_job(name="job").execute_in_process().success |
5 changes: 0 additions & 5 deletions
5
examples/software_defined_assets/software_defined_assets_tests/test_spark_weather_job.py
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
examples/software_defined_assets/software_defined_assets_tests/test_weather_assets_group.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from software_defined_assets.weather_assets_group import weather_assets | ||
|
||
|
||
def test_airport_weather_assets(): | ||
assert weather_assets.build_job(name="job").execute_in_process().success |
5 changes: 0 additions & 5 deletions
5
examples/software_defined_assets/software_defined_assets_tests/test_weather_job.py
This file was deleted.
Oops, something went wrong.
6b57eb6
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-git-master-elementl.vercel.app
dagster.vercel.app
new-docs.dagster.io
docs.dagster.io
dagster-elementl.vercel.app