Hi everyone, I stumbled upon an error as the pref...
# prefect-community
g
Hi everyone, I stumbled upon an error as the prefect engine serializer tried to pickle a task result:
TypeError: cannot pickle 'lxml.etree.XMLSchema' object
Of course the result of one of my task is of this type and I would prefer not to change it. I tried to launch that process again with
config.flows.checkpointing = "false"
in the
~/.prefect/config.toml
file but I got the same error... This is an error that I cannot reproduce locally with
prefect run <flow>
. Do you guys have any leads on how I can solve this issue or at least reproduce the error locally?
k
config.flows.checkpointing = "false"
gets overridden in Cloud backed runs. You need to turn it off in the task level
@task(checkpoint=False)
.
upvote 1
g
oh. But I am hosting the prefect server, would that change anything ? I'll try to put this option in the decorator nonetheless
ty for your quick response 😄
a
it works the same way for Cloud and Server
upvote 1
g
yay it worked \o/
ty ❤️
👍 1
a