Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Deprecation Warning: Replace Config with ConfigDict for Pydantic v2 Compatibility #678

Open
banagale opened this issue Feb 14, 2025 · 0 comments · May be fixed by #679
Open

[Bug]: Deprecation Warning: Replace Config with ConfigDict for Pydantic v2 Compatibility #678

banagale opened this issue Feb 14, 2025 · 0 comments · May be fixed by #679
Labels
🐞 Bug Something isn't working 🩺 Needs Triage Needs attention of maintainers

Comments

@banagale
Copy link

crawl4ai version

0.4.3b2

Expected Behavior

Crawl4AI triggers a deprecation warning in Pydantic v2 due to the use of class-based Config in crawl4ai/models.py.

Current Behavior

Warning is issued:

PydanticDeprecatedSince20: Support for class-based config is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3

Is this reproducible?

Yes

Inputs Causing the Bug

Steps to Reproduce

Code snippets

OS

macos

Python version

3.12.9

Browser

No response

Browser version

No response

Error logs & Screenshots (if applicable)

No response

@banagale banagale added 🐞 Bug Something isn't working 🩺 Needs Triage Needs attention of maintainers labels Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Something isn't working 🩺 Needs Triage Needs attention of maintainers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant