You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The FERC Form 1 and Form 714 raw data are extracted into SQLite files before the main ETL begins. To bring the raw SQLite tables into dagster, we create SourceAssets for all the tables. To create a SourceAsset you just need to initialize it with a table name and an io manager key.
Dagster is removing SourceAssets in 2.0.0 so we need to start using AssetSpecs! This is what the SourceAsset docs say:
Use AssetSpec instead. If using the SourceAsset io_manager_key property, use AssetSpec(...).with_io_manager_key(...)..
bendnorman
changed the title
Switch from using the deprecated [SourceAsset](https://docs.dagster.io/_apidocs/assets#dagster.SourceAsset) to [AssetSpec](https://docs.dagster.io/concepts/assets/external-assets)
Switch from using the deprecated SourceAsset to AssetSpecNov 26, 2024
I made a brief attempt at this a couple of weeks ago and ran into some issues. It didn't seem quite as straightforward as they made it sound. See the deprecate-source-assets branch for where I left it.
Switch from using the deprecated
SourceAsset
toAssetSpec
.The FERC Form 1 and Form 714 raw data are extracted into SQLite files before the main ETL begins. To bring the raw SQLite tables into dagster, we create
SourceAsset
s for all the tables. To create aSourceAsset
you just need to initialize it with a table name and an io manager key.Dagster is removing
SourceAsset
s in 2.0.0 so we need to start usingAssetSpec
s! This is what theSourceAsset
docs say:Here is an example of how to make this change:
pudl/src/pudl/extract/ferc1.py
Lines 360 to 366 in 9dd1ab9
to
Tasks
The text was updated successfully, but these errors were encountered: