Skip to content

Fix typeddict issue with generics#120

Open
semohr wants to merge 2 commits intopgjones:mainfrom
semohr:fix_typeddict
Open

Fix typeddict issue with generics#120
semohr wants to merge 2 commits intopgjones:mainfrom
semohr:fix_typeddict

Conversation

@semohr
Copy link
Copy Markdown
Contributor

@semohr semohr commented Apr 21, 2026

Hi @pgjones,
I had some time to fix the issue #119 this afternoon.

This PR extends the model_class conversion guard to less strict version, which supports generic TypedDict types.
Further I refactored the test around conversion slightly to add tests for the TypedDict[Generic] edge case.

Best, S

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.

1 participant