> My recommendation is to avoid using third-party libraries that implement non-standard behaviors, i.e. behaviors that cannot be described by existing Python type annotations. In the particular case of pydantic, I recommend switching to the stdlib dataclass if you can.
При том, что в обоих случаях интерфейс был описан одинаково