https://prefect.io logo
Title
a

Aaron

01/20/2023, 8:40 PM
Seeing this in the logs, but I'm not sure what is triggering it, I'm not using 'result' anywhere. DeprecationWarning:
result
is no longer supported by
prefect.orion.schemas.states.State
and will be removed in a future release. When result retrieval is needed, use
prefect.states.State
. result = await state.result(raise_on_failure=False, fetch=True)
z

Zanie

01/20/2023, 8:47 PM
Is there a traceback for the warning?
And what version are you using?
a

Aaron

01/20/2023, 8:55 PM
2.7.7
This is the entirety of it:
z

Zanie

01/20/2023, 9:09 PM
Can you run your flow with
python -W error
or the
PYTHONWARNINGS=error
environment variable?
Then we’ll get a traceback