Seems like this is a bug in Pydantic. We should not need to specify this argument according to the docs.