See https://github.com/pydantic/pydantic/pull/9064#discussion_r1534639107 for more details :)