-
Notifications
You must be signed in to change notification settings - Fork 45
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
Switch to a non-tuple based type tracking #16
Conversation
2112d92
to
7d65796
Compare
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.
Just a few small comments, otherwise LGTM 👍
This probably warrants doc updates/expansion for sure, especially with some small changes to the edge cases
IDENT_RE = re.compile(r"^[_a-zA-Z][a-zA-Z0-9_]*$") | ||
|
||
|
||
is_primitive = set(b.value for b in TypeHint.primitives()).__contains__ |
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.
🎈
Issues
Relates to #15 for Elasticsearch based type changes.
Details
Address some tech debt. Removed the brittle tuple-based type system and switched to something class-based. This simplifies the handling and will make future maintenance and type-based changes easier.