Open 0num4 opened 5 months ago
If there is pydantic.types.Base64Str(), I think it would be reasonable to also have Sha256Str. What do you think?
.model_dump()
.model_dump_json()
model_construct()
This could belong in pydantic-extra-types! Moving this there now!
pydantic-extra-types
Initial Checks
Description
If there is pydantic.types.Base64Str(), I think it would be reasonable to also have Sha256Str. What do you think?
Affected Components
.model_dump()
and.model_dump_json()
model_construct()
, pickling, private attributes, ORM mode