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
Describe the bug
When you create a function that doesn't take any parameters in its signature, all the variables from the process scope are passed into it.
The workaround I used to solve this is to take in *args, **kwargs inside the task function signature.
To Reproduce
Steps to reproduce the behavior:
Create a task function that takes in no parameters.
Run a process which uses that task in it.
Code crashes from an unexpected parameters error.
Expected behavior
No variables should be injected and the function should complete normally.
Desktop (please complete the following information):
OS: Windows 10
Version 3.0.4
The text was updated successfully, but these errors were encountered:
Describe the bug
When you create a function that doesn't take any parameters in its signature, all the variables from the process scope are passed into it.
The workaround I used to solve this is to take in
*args, **kwargs
inside the task function signature.To Reproduce
Steps to reproduce the behavior:
Expected behavior
No variables should be injected and the function should complete normally.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: