Seeing this in the logs, but I'm not sure what is ...
# ask-community
a
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
Is there a traceback for the warning?
And what version are you using?
a
2.7.7
This is the entirety of it:
z
Can you run your flow with
Copy code
python -W error
or the
PYTHONWARNINGS=error
environment variable?
Then we’ll get a traceback