# ask-community

John Michael Rice

07/20/2023, 5:55 PM
hey folks, I’m struggling to find a way to update a dynamic partition defined on an asset from anywhere other than a sensor. I want to only update (add new partitions) when an upstream asset has materialized, so sensor doesn’t really meet my need here. Defining an asset dependency allows me to estasblish desired flow, but now have no idea how to tell the dynamic partition to update. Is there any other place we can update the partition from outside a sensor?
dagster bot surface to discussion 1


07/20/2023, 6:50 PM
Hi, here's an example of how you can do this within an op/asset:
ty spinny 1