We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
serialization
InvalidSchema
1 parent bbd4de5 commit c38a68dCopy full SHA for c38a68d
python/pydantic_core/core_schema.py
@@ -439,6 +439,9 @@ class InvalidSchema(TypedDict, total=False):
439
type: Required[Literal['invalid']]
440
ref: str
441
metadata: Dict[str, Any]
442
+ # note, we never plan to use this, but include it for type checking purposes to match
443
+ # all other CoreSchema union members
444
+ serialization: SerSchema
445
446
447
def invalid_schema(ref: str | None = None, metadata: Dict[str, Any] | None = None) -> InvalidSchema:
0 commit comments