Hi, I am struggling to use backfill on an asset th...
# ask-community
Hi, I am struggling to use backfill on an asset that returns an output value. Whatever I am trying to do I get
Copy code
dagster._core.errors.DagsterExecutionHandleOutputError: Error occurred while handling output "result" of step "test_output.construct_arguments":
The above exception was caused by the following exception:
Can anyone share an example code on how such case should look like? What should be the return value type?
mind sharing some code snippet for the asset definition?
yes, that is a snippet of test code which also gives the same error:
Copy code
    partitions_def=HourlyPartitionsDefinition(datetime(2023, 8, 1)),
def test_result(context) -> str:
    return context.asset_partition_key_range_for_output().start
p.s. i am currently on 1.4.3 version
I was searching for anything similar in GH and found this MR which seems to be like a fix for that issue: https://github.com/dagster-io/dagster/pull/14621/files#diff-769da442e9a2e89f16a2942da633f014bab8aaeb01bb65ae53cba4f6c553baddL438-R445