Got pydantic error when import firecrawl python v2
Hi, I've just imported Firecrawl / AsyncFirecrawl (from firecrawl import Firecrawl, AsyncFirecrawl) in a FastAPI application and got an error: pydantic.errors.PydanticUserError: Decorators defined with incorrect fields: firecrawl.v2.types.SearchRequest:4709679808.validate_parsers (use check_fields=False if you're inheriting from the model and intended this)
Version:
- Pydantic: 2.11.7
- firecrawl-py: 4.1.0
To Reproduce:
pip install firecrawl-py --> from firecrawl import Firecrawl, AsyncFirecrawl.
Thanks for any help or suggestions!
2 Replies
Hey, let me take a look!
Just pushed a fix!
Should be working fine on 4.1.1, let me know!
It works now, thanks!