https://dagster.io/ logo
Title
n

Noel

11/06/2022, 4:31 AM
has anyone tried to test a multi-asset before? did you guys get this error?
self = <dagster._core.execution.context.invocation.UnboundSolidExecutionContext object at 0x10fafa2c0>

    @property
    def pipeline_def(self) -> PipelineDefinition:
>       raise DagsterInvalidPropertyError(_property_msg("pipeline_def", "property"))
E       dagster._core.errors.DagsterInvalidPropertyError: The pipeline_def property is not set on the context when a solid is directly invoked.
c

claire

11/15/2022, 12:06 AM
Would you mind sharing your test snippet as well? It should be possible to directly invoke the asset functions