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

Daniel Mosesson

08/22/2022, 12:31 PM
Is there a way to rematerialize a partition for a
multi_asset
? When I try it throws an error saying that I have also not selected the other asset in the
multi_asset
.
When building job, the AssetsDefinition '<asset1>' contains asset keys [AssetKey(['<asset1']),AssetKey(['asset2])], but attempted to select only [AssetKey('<asset1>')]. This AssetDefinition does not support subsetting. Please select all asset keys produced by this asset
dagster bot responded by community 1
a

Averell

08/22/2022, 1:19 PM
How about setting
required=False
for the other assets?
d

Daniel Mosesson

08/22/2022, 1:20 PM
How do I do that in the UI?
Or you mean to do that in the code
a

Averell

08/22/2022, 1:20 PM
Yes, I only know how to do that in the code,
d

Daniel Mosesson

08/22/2022, 2:27 PM
I figured it out. You just have to check multiple boxes on the assets list before clicking materialize (covering all the assets in the
multi_asset
and it works
a

Averell

08/22/2022, 11:57 PM
but that means you need to materialize all assets in that multi_asset, right?
d

Daniel Mosesson

08/23/2022, 12:34 PM
Yes, but at least I can do that from the UI as opposed to having to update the code