-
Notifications
You must be signed in to change notification settings - Fork 27
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!: update vrs/common models #417
Conversation
close #415 * only support 3 most recent python versions (3.10, 3.11, 3.12) * change development python version from 3.10 to 3.12 * re-run cassettes
* ordered:false -> serializer should always sort the array before computing the digest so that regardless of the order, the digest always comes out the same * ordered: true -> do not sort the items before digesting, so digests can be different based on ordering of array
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.
Wondering if we should split these out into core-im vs domain entity modules?
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.
If so, might do this in a separate PR
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.
I deleted test_vrs.py and renamed test_vrs2.py to test_vrs.py. These were essentially the same, but test_vrs2.py had more tests.
Going to do one more look over in the morning. Then I think I'm ready to mark ready for review. |
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.
looks good to me*
*someone who is not particularly involved in any of the changes to these models
close #409 , #116
use_enum_values
from Pydantic config. We didn't use this in all models, so not sure if there was a purpose for it.Could definitely get some other eyes on this to make sure I didn't miss anything