-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cython functions aren't supported because of the way inspect.isfunction
works
#3
Comments
Is this exclusive to Cython functions or would any C function cause that problem? Your mailing list thread links to pep-0575, which in turn links to pep-0579, and both seem to recommend making changes to There's always the possibility of just going the duck-typing route and searching for a |
I don't have any deep insight into this: I've found your repo while exploring different options for FastAPI profiling, tried to run the example in I just tried replacing |
|
FWIW - this stopped Changing to |
inspect.isfunction
returnsFalse
for Cython functions (see this discussion).As a result, tracking
pydantic.fields.ModelField.validate
forpydantic==1.7.3
is impossible.The text was updated successfully, but these errors were encountered: