Hi, I’m making a custom recipe and I wanted to point out the follow error when I run your example at https://prodi.gy/docs/workflow-custom-recipes.
Traceback (most recent call last):
File "/usr/local/Cellar/python/3.6.4_4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/local/Cellar/python/3.6.4_4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/whigh/venvs/clearance/lib/python3.6/site-packages/prodigy/__main__.py", line 260, in <module>
if not recipe_path.isfile():
AttributeError: 'PosixPath' object has no attribute 'isfile'
I have worked around it with os.path.isfile(str(recipe_path))
.
I’m using Python 3.6.4.