Migrate to pydantic v2
Pydantic version 2 is released and changes basically all internals, so we need to refactor our base class accordingly.
Some help might be found in this thread: https://github.com/pydantic/pydantic/discussions/7008
Pydantic version 2 is released and changes basically all internals, so we need to refactor our base class accordingly.
Some help might be found in this thread: https://github.com/pydantic/pydantic/discussions/7008