-
Notifications
You must be signed in to change notification settings - Fork 96
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
Unable to pass arguments to a function which uses timeout_decorator with use_signals = False #32
Comments
I'm not entirely sure how the
Using the example code:
My best guess is that the function needs to be wrapped using functools.wraps or functools.update_wrapper, but I'm not sure where that should actually happen. |
@akshay-hazari You could do the following workaround if you don't want to wait for an update:
|
This should be resolved by the merge for #35. Recommend closing. |
Gives an error :
TypeError: mytest() takes exactly 2 arguments (1 given)
The text was updated successfully, but these errors were encountered: