Created by: IgnatovFedor
Fix ImportError: cannot import name 'Undefined' from 'pydantic.fields' on pydantic>=2
ImportError: cannot import name 'Undefined' from 'pydantic.fields'