-
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.
) ## Summary & Motivation Before, `DagsterLookerTranslator.get_asset_key(...)` only operated to generate the `key` of the `AssetSpec` in question. Now, it also operates on the `deps` of the `AssetSpec`. Also, implement `DagsterLookerTranslator.get_deps(...)`. ## How I Tested These Changes pytest: - See all keys of a `@looker_assets` instance change when overriding `get_asset_key` - See `deps` change when overriding `get_deps`.
- Loading branch information
1 parent
ff8b272
commit 8cde44c
Showing
4 changed files
with
294 additions
and
141 deletions.
There are no files selected for viewing
5 changes: 4 additions & 1 deletion
5
python_modules/libraries/dagster-looker/dagster_looker/__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,7 +1,10 @@ | ||
from dagster._core.libraries import DagsterLibraryRegistry | ||
|
||
from .asset_decorator import looker_assets as looker_assets | ||
from .dagster_looker_translator import DagsterLookerTranslator as DagsterLookerTranslator | ||
from .dagster_looker_translator import ( | ||
DagsterLookerTranslator as DagsterLookerTranslator, | ||
LookMLStructureType as LookMLStructureType, | ||
) | ||
from .version import __version__ as __version__ | ||
|
||
DagsterLibraryRegistry.register("dagster-looker", __version__) |
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.