Skip to content

docs: add ConfigDict with arbitrary_types_allowed to Pydantic example#1757

Closed
decembercomposer697-hue wants to merge 1 commit into
aio-libs:masterfrom
decembercomposer697-hue:fix/pydantic-example
Closed

docs: add ConfigDict with arbitrary_types_allowed to Pydantic example#1757
decembercomposer697-hue wants to merge 1 commit into
aio-libs:masterfrom
decembercomposer697-hue:fix/pydantic-example

Conversation

@decembercomposer697-hue

Copy link
Copy Markdown

Fixes #1624: Pydantic v2 requires arbitrary_types_allowed=True for URL field type.

Pydantic v2 requires arbitrary_types_allowed=True for types like
URL that aren't natively supported. Updated the example.
@codspeed-hq

codspeed-hq Bot commented Jun 18, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 97 untouched benchmarks


Comparing decembercomposer697-hue:fix/pydantic-example (5bf1660) with master (dccaecb)

Open in CodSpeed

@bizzyvinci

Copy link
Copy Markdown

This is a duplicate.
#1644 was closed as incomplete
#1627 is open

@bizzyvinci bizzyvinci closed this Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: arbitrary_types_allowed needed in Pydantic example

2 participants