Skip to content
This repository was archived by the owner on Apr 11, 2026. It is now read-only.

Support module types in serialization inference#1827

Draft
Viicos wants to merge 1 commit intomainfrom
infer-module-type
Draft

Support module types in serialization inference#1827
Viicos wants to merge 1 commit intomainfrom
infer-module-type

Conversation

@Viicos
Copy link
Copy Markdown
Member

@Viicos Viicos commented Oct 8, 2025

Change Summary

Regression in #1478.

Fixes pydantic/pydantic#12348.

This might not be the best approach, see pydantic/pydantic#12348 (comment).

Related issue number

Checklist

  • Unit tests for the changes exist
  • Documentation reflects the changes where applicable
  • Pydantic tests pass with this pydantic-core (except for expected changes)
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Oct 8, 2025

CodSpeed Performance Report

Merging #1827 will not alter performance

Comparing infer-module-type (0ff15eb) with main (3043aba)

Summary

✅ 163 untouched

@Viicos Viicos marked this pull request as draft October 13, 2025 13:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2.12.0: PydanticSerializationError when using serialize_as_any

1 participant