Skip to content

Conversation

@MichalZelenak
Copy link
Contributor

@MichalZelenak MichalZelenak 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.

@MichalZelenak MichalZelenak force-pushed the pydantic branch 2 times, most recently from 7a6a734 to 7f34604 Compare December 8, 2023 08:20
@MichalZelenak MichalZelenak changed the title Add Pydantic models to IIB [Draft] Add Pydantic models to IIB Dec 8, 2023
@MichalZelenak MichalZelenak force-pushed the pydantic branch 4 times, most recently from d69a673 to bbd3201 Compare December 8, 2023 13:43
@MichalZelenak MichalZelenak force-pushed the pydantic branch 6 times, most recently from 87d221c to 8a5a898 Compare December 11, 2023 08:01
@MichalZelenak MichalZelenak force-pushed the pydantic branch 4 times, most recently from 819b658 to 817c252 Compare January 14, 2024 21:27
@MichalZelenak MichalZelenak 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