Alexis Manuel
02/22/2023, 2:43 PMAssetSelection.keys(AssetKey([prefix, name])).upstream()
) but I can not find how to get the corresponding asset keys. Thanks for your help 🙏claire
02/22/2023, 9:44 PMmulti_asset_sensor
, you can directly pass in an AssetSelection
like this:
multi_asset_sensor(monitored_assets=AssetSelection(...)
@asset_sensor
, you will have to resolve your asset selection by doing something like:
@asset_sensor(asset_key=AssetSelection(...).resolve(defs.get_repository_def().asset_graph)[0])
Alexis Manuel
02/23/2023, 8:12 AM