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

Aaron T

03/21/2023, 3:25 AM
If I have an
@asset(partitions_def=daily_partitions_def) def partitioned_asset(context)
and a regular
@asset def regular_asset(context)
or
@op def regular_op(context)
, from within my
partitioned_asset
if I try calling either
regular_asset
or
regular_op
I always get a
DagsterInvalidInvocationError: Compute function ... has context argument, but no context was provided when invoking
- Why is that? What causes this error, and how might I fix it?
j

jamie

03/21/2023, 2:02 PM
This is because you can’t call assets or ops from within other assets or ops. Typically you execute one asset and then another and you define the ordering by the inputs provided to the downstream assets. For ops you define the ordering in a job or a graph
🤯 1