more powerful, since we can also use the various features like before/after validator of pydantic etc.
less performant, since beartype is claimed to be O(1).
However, if we only use this in the APIs to, the overhead could be minimal as the performance of the pydantic increases, and we have already heavily used it anyway.
This is an experimental feature, which will not be a part of v0.1, but could be part of v0.2
Description
Due to the unstable status of beartype, we could use Pydantic's function call validation feature.
In theory, this could be:
However, if we only use this in the APIs to, the overhead could be minimal as the performance of the pydantic increases, and we have already heavily used it anyway.
This is an experimental feature, which will not be a part of v0.1, but could be part of v0.2
Additional Information
No response