pydantic-core
Add support for unpacked `TypedDict` to type hint variadic keyword arguments in `ArgumentsValidator`
#1451
Merged

Add support for unpacked `TypedDict` to type hint variadic keyword arguments in `ArgumentsValidator` #1451

sydney-runkle merged 6 commits into main from kwargs-td
Viicos
Viicos
Viicos commented on 2024-09-16
Viicos Viicos force pushed from 08969cd3 to 1d84ff5c 1 year ago
codspeed-hq
Viicos Add support for `TypedDict` for `**kwargs`
5969925a
Viicos Viicos force pushed from 0e96f29e to 9cab63cd 1 year ago
Viicos
Viicos commented on 2024-09-17
Viicos
Viicos commented on 2024-09-17
Viicos Flatten everything under the arguments validator
1149fe45
Viicos Viicos force pushed from 9cab63cd to 1149fe45 1 year ago
Viicos Viicos changed the title Add support for `TypedDict` for `**kwargs` Add support for unpacked `TypedDict` to type hint variadic keyword arguments with `@validate_call` 1 year ago
Viicos Viicos changed the title Add support for unpacked `TypedDict` to type hint variadic keyword arguments with `@validate_call` Add support for unpacked `TypedDict` to type hint variadic keyword arguments in the `ArgumentsValidator` 1 year ago
Viicos
Viicos commented on 2024-09-17
Viicos Viicos changed the title Add support for unpacked `TypedDict` to type hint variadic keyword arguments in the `ArgumentsValidator` Add support for unpacked `TypedDict` to type hint variadic keyword arguments in `ArgumentsValidator` 1 year ago
Viicos Viicos marked this pull request as ready for review 1 year ago
sydney-runkle
sydney-runkle requested changes on 2024-09-17
pydantic-hooky pydantic-hooky added awaiting author revision
pydantic-hooky pydantic-hooky added awaiting author revision
pydantic-hooky pydantic-hooky assigned Viicos Viicos 1 year ago
Viicos Feedback
b9dbb34f
davidhewitt
davidhewitt commented on 2024-09-18
Viicos Feedback
a5206e56
Viicos Always validate if in unpack typed dict mode
99d33033
sydney-runkle
sydney-runkle approved these changes on 2024-09-20
sydney-runkle Update python/pydantic_core/core_schema.py
57467bda
sydney-runkle sydney-runkle enabled auto-merge (squash) 1 year ago
sydney-runkle sydney-runkle merged f3f436e9 into main 1 year ago
sydney-runkle sydney-runkle deleted the kwargs-td branch 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone