You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works for most the the time except if I try to access context.asset_spec from MyIOManager.
It tells me :
dagster._core.errors.DagsterInvariantViolationError: Attempting to access step_context, but it was not provided when constructing the OutputContext
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I m making test unit with pytest to check an IoManager.
I m doing this :
It works for most the the time except if I try to access context.asset_spec from MyIOManager.
It tells me :
dagster._core.errors.DagsterInvariantViolationError: Attempting to access step_context, but it was not provided when constructing the OutputContext
How can I moke the step_context ?
Beta Was this translation helpful? Give feedback.
All reactions