https://prefect.io logo
v

Verun Rahimtoola

02/03/2021, 2:26 AM
hi, i noticed that when a flow that is registered with the Prefect Server gets picked up by an agent to run it, the
CloudTaskRunner
seems to use a
LocalResult
to persist the results of every task... can someone point me to where this result object gets created?
c

Chris White

02/03/2021, 2:32 AM
Hi Verun - certain storage classes have default result configurations; in this case, it sounds like you’re using
Local
Storage which sets a
LocalResult
if you didn’t set a result yourself. Relevant codepaths: https://github.com/PrefectHQ/prefect/blob/master/src/prefect/core/flow.py#L1662-L1664 https://github.com/PrefectHQ/prefect/blob/master/src/prefect/storage/local.py#L69
v

Verun Rahimtoola

02/03/2021, 2:33 AM
you da man
c

Chris White

02/03/2021, 2:33 AM
cheers
😛 1