Skip to content
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

check if function is wrapped as staticmethod #25

Open
JulReinhardt opened this issue Aug 27, 2020 · 0 comments
Open

check if function is wrapped as staticmethod #25

JulReinhardt opened this issue Aug 27, 2020 · 0 comments

Comments

@JulReinhardt
Copy link
Contributor

JulReinhardt commented Aug 27, 2020

Check self._func.__self__in operationplugin.init
if its an instancemethod, otherwise must be wrapped in staticmethod

cf: see last lines in operation method in operationplugin.py lines 514-519

@JulReinhardt JulReinhardt changed the title check if hand function is wrapped as staticmethod check if function is wrapped as staticmethod Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant