Why aren't most of `asset` arguments also availabl...
# ask-community
d
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
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