https://dagster.io/ logo
#ask-community
Title
# ask-community
j

Jordan

04/03/2023, 10:59 PM
Hi Dagster! I find the concept of
multi_asset_sensor
very relevant to launch executions based on whether several monitored assets are up to date. However, I would need some additional configuration to be able to trigger my executions based on the new files that arrive. The problem here is that I don't have control over the cursor so I can allocate a small portion of it to myself. Ideally I would like to have something like this:
{dagster_config : {"AssetKey(['key_1'])": [null, null, {}], "AssetKey(['key_2'])": ["2023-01-01", 148, {}]}, 'my_own_config' : {"foo" :"bar"}}
I am still aware that it is probably possible for me to replicate
multi_asset_sensor
code by defining my own custom sensor. Maybe there are more affordable alternatives that you could suggest to me. Thanks in advance.
s

sandy

04/04/2023, 12:30 AM
Hi Jordan - as it looks like you've discovered, this is not currently possible with the
multi_asset_sensor
, but I see the benefit. If you file a Github issue, it would help us prioritize eventually adding it. We would also accept a pull request if you would be interested in taking this on.
2 Views