-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat!: replace instance var lists with pydantic model #374
Conversation
I think refactoring cache strategy should be a separate issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 great. I think it makes a lot of sense to avoid using dicts as an interface layer when we could be using namedtuples (gives some field definitions, enables autocomplete), dataclasses (namedtuples but also enables type annotation) or pydantic models (dataclasses but with runtime validation).
I think this is still a wip but @jsstevenson wanted to make you aware