I'm trying to set `persist_result` to False since ...
# ask-community
n
I'm trying to set
persist_result
to False since the object it return is not compatible with the Pickle serializer. However, I'm receiving the following error. I'm running on 2.7.2.
Copy code
Flow could not be retrieved from deployment.
Traceback (most recent call last):
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/prefect/main.py", line 6, in <module>
    from steps.parse.parser import parse
  File "/opt/prefect/steps/parse/parser.py", line 9, in <module>
    from .html_parser import process_html
  File "/opt/prefect/steps/parse/html_parser.py", line 22, in <module>
    @task(persist_result=False)
TypeError: task() got an unexpected keyword argument 'persist_result'
z
Hm that’s really weird we have extensive coverage of that in tests.
Is Prefect 1 installed on that machine too?