Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: WIP introspection from schema using typeddict #108

Conversation

KingDarBoja
Copy link

Work in progress based on #99 request.

cc @Cito

@KingDarBoja KingDarBoja requested a review from Cito as a code owner September 19, 2020 17:24
Base automatically changed from master to main February 8, 2021 18:14
@Cito Cito force-pushed the main branch 3 times, most recently from 4f69c9b to 1804bd7 Compare September 29, 2021 15:09
@Cito Cito force-pushed the main branch 3 times, most recently from 0ac79de to 3f40fc2 Compare November 7, 2021 20:26
@Cito
Copy link
Member

Cito commented Dec 28, 2021

Thank you for the contribution, finally came back to this and implemented it in 24506f3 using TypedDicts, since we are using dicts as introspection results. Unfortunately, the implementation of TypedDicts in mypy has some weaknesses (no recursion, no generics) so this is not as good as it could be. Closing this now.

@Cito Cito closed this Dec 28, 2021
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.

2 participants