pydantic-core
pydantic-core copied to clipboard
name for constrained string validators should chanage
To just str if the constraints are from config, then if they're local maybe to str[max_len=3] etc.?
Following discussion in https://github.com/pydantic/pydantic-core/pull/517 i.e. https://github.com/pydantic/pydantic-core/pull/517#issuecomment-1498865153 this looks to be deferred for now.
Going to close for now, looks to not be a high priority. String constraint ordering seems to be of more value at this point.