Skip to content

[Bug] Pydantic error on import #929

@stevepepple

Description

@stevepepple

Describe the Bug

When first installing and running the project on python3.11, I get this error on import:

NameError: Field name "schema" shadows a BaseModel attribute; use a different field name with "alias='schema'".

To Reproduce
Steps to reproduce the issue:

  1. Install with pip
  2. Import the library in runtime. I did the following:
ipython
Then
from firecrawl import FirecrawlApp

Look like installing v 1.5.0 doesn't have the same issue.

Expected Behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots or copies of the command line output to help explain the issue.

Environment (please complete the following information):

  • OS: [e.g. macOS, Linux, Windows]
  • Firecrawl Version: [e.g. 1.2.3]
  • Node.js Version: [e.g. 14.x]

Logs
If applicable, include detailed logs to help understand the problem.

Additional Context
Add any other context about the problem here, such as configuration specifics, network conditions, data volumes, etc.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions