Vamsi Reddy
11/02/2021, 4:29 PMKevin Kho
@task
def abc():
prefect.context.my_var = here
or if it is returned, you can use the state.result
.
inside your state handler, you can do
prefect.context.get("my_var")
. Not that mutating context doesn’t carry over succeeding tasks