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

Daniel Gafni

07/06/2022, 11:37 AM
Why aren't most of
asset
arguments also available for
AssetDefinition.from_graph
? For example,
partition_mappings
exists for
asset
but doesn't for
AssetDefinition.from_graph
. Is this a bug or is there another way to use
partition_mappings
with
AssetDefinition.from_graph
? As I understand, using
partition_mappings
is the only way to specify dependency of asset
B
on
n
previous partitions of asset
A
? For example, asset
A
represents raw features, while asset
B
represents their aggregations by a time window.
s

sandy

07/06/2022, 7:13 PM
Hey Daniel - I posted a PR to add this: https://github.com/dagster-io/dagster/pull/8768. We should be able to get it into tomorrow's release cc @claire for review
👍 1