Stephen Bailey
01/05/2023, 8:28 PMreturn RunRequest(asset_selection=list(asset_keys))
owen
01/05/2023, 9:15 PMStephen Bailey
01/05/2023, 9:38 PM@multi_asset_sensor(job=...)
syntax?owen
01/05/2023, 9:46 PMsandy
01/05/2023, 9:50 PMI believe you should be able to just leave the job out entirelyit's worth trying, but I suspect this does not work the asset reconciliation sensor uses the
asset_selection
argument on @sensor
to target a bunch of assets, and then the RunRequest subselects within that set.
@multi_asset_sensor
does not yet support that argument (confusingly, the asset_selection
argument on @multi_asset_sensor
refers to the assets to monitor). I am going to try to remedy this. as a workaround in the meantime, you could create a job that targets all your assets and point at it in the multi-asset sensor.owen
01/05/2023, 9:52 PMStephen Bailey
01/13/2023, 2:20 AMRunRequest(asset_selection=..)
does not accept AssetSelection
as an accepted type: dagster._check.ParameterCheckError: Param "asset_selection" is not one of ['Sequence'].
2. The "mega job", which is best most easily defined as define_asset_job(selection=AssetSeleciton.all())
, fails if there are different partitions. I can see the tehnical complexity here and I finially understand why there were those ASSET_JOB_0 - 5 showing up in the reconicilation sensor. But, a pain nonetheless