Hi there, How can I set an Asset depending on an ...
# ask-community
a
Hi there, How can I set an Asset depending on an specific MultiPartitionKey? My example: I have a multi-partitioned asset and want dependency only in one partition, something like:
Copy code
AssetIn(key=, partition_key=MultiPartitionKey({..})) # pseudo-code
1
👀 1
👍 1
🔝 1
s
hi @Airton Neto - it should be fairly straightforward to write a PartitionMapping that does this. would you be up for filing a github issue for this request? I might be able to get to it soon or help show you how to write one
a
Hi, Sure, in fact I decided not to use this dependency, as it wouldn't help much to solve my problem,
👍 1
Thanks for your answer!