Skip to content

Conversation

xDaile
Copy link
Contributor

@xDaile xDaile commented Dec 7, 2023

Checks from the 'from_json' method were moved to Pydantic models.
Leftovers from 'from_json' methods can be seen in 'from_json_replacement' methods, which could be rewritten into one common method as seen in "from_json_replacement_even_shorter".

Some inheritance would also be possible in pydantic_models.py.

@xDaile xDaile force-pushed the pydantic branch 2 times, most recently from 7a6a734 to 7f34604 Compare December 8, 2023 08:20
@xDaile xDaile changed the title Add Pydantic models to IIB [Draft] Add Pydantic models to IIB Dec 8, 2023
@xDaile xDaile force-pushed the pydantic branch 4 times, most recently from d69a673 to bbd3201 Compare December 8, 2023 13:43
@xDaile xDaile force-pushed the pydantic branch 6 times, most recently from 87d221c to 8a5a898 Compare December 11, 2023 08:01
@xDaile xDaile force-pushed the pydantic branch 9 times, most recently from 33c393c to 8218ba7 Compare January 4, 2024 19:06
@xDaile xDaile force-pushed the pydantic branch 4 times, most recently from 819b658 to 817c252 Compare January 14, 2024 21:27
@xDaile xDaile force-pushed the pydantic branch 4 times, most recently from c93bc96 to 99cb767 Compare February 5, 2024 10:55
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