We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using funcs_kwargs with a class that inherits from Module does not update the class signature.
funcs_kwargs
Module
Minimum example:
from fastai2.basics import * @funcs_kwargs class C(Module): _methods = ['m1'] def __init__(self, **kwargs): pass def m1(self): return 1 print(inspect.signature(C))
Returns: (self, **kwargs) Expected: (*, m1=None)
(self, **kwargs)
(*, m1=None)
The text was updated successfully, but these errors were encountered:
25238df
Thanks for flagging! Should be fixed now.
Sorry, something went wrong.
No branches or pull requests
Using
funcs_kwargs
with a class that inherits fromModule
does not update the class signature.Minimum example:
Returns:
(self, **kwargs)
Expected:
(*, m1=None)
The text was updated successfully, but these errors were encountered: