Bump pydantic to the latest patch fix of 1.10.18
Pydantic is preparing some patch fixes to its V1 version. Good to have it up-to-date.
For example, it fixes the issue with using pydantic with a newer versions of mypy. See: https://github.com/pydantic/pydantic/issues/10129
Related:
Edited by Mateusz Żebrak