When I import function for `pytest` which has perf...
# ask-community
m
When I import function for
pytest
which has perfect
decorator
, I got the following error (screenshot bellow). If I comment #flow decorator, pytest runs without errors.
k
Prefect uses Pydantic to validate flow’s parameters so this is probably something to do with that. Can you show a minimal example of your code? Can you try setting
validate_parameters=False
and see if you still get the error?
👀 1
m
Thank you @Khuyen Tran! I've tried a
validate_parameters=False
, but it didn't have influence. I will try to create a simple code example.
@Khuyen Tran, Just sharing, and all otheres, who is interested, to what I discovered: 1. Thre problem raises, when one of the dictionary values is a
list
. 2. When I switched from version 2.4.5 to 2.6.9, the problem disappeared 🥳.
🎉 1
k
That’s interesting. We must have fixed this issue in the later versions. I’m glad you solved the issue!