You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the validate_call decorator in a base class, calling inspect.getmembers on a derived class raises a TypeError. I would expect this to not raise an Exception.
Try with pydantic version 2.6.0b1. I'm not seeing an error when I run this locally and I think that's because I'm working with more recent code which in particular includes #8268.
Initial Checks
Description
When using the
validate_call
decorator in a base class, callinginspect.getmembers
on a derived class raises aTypeError
. I would expect this to not raise an Exception.Example Code
Python, Pydantic & OS Version
The text was updated successfully, but these errors were encountered: