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
Hello, thank you for your project, is really awesome, it helped me big time :)
I was wondering which is the right way and if it possible to pass arbitrary arguments on the worker function.
More specifically, my problem is that I have a script and I want to read some parameters from a file. Then, depending on some user input I want to handle those parameters (from the file) either on the standard process of the script or start a daemon and pass those parameters on the daemon. Up until now, I am declaring those parameters on either a global variable or I create a class. Is there any other way?
Thanks
The text was updated successfully, but these errors were encountered:
@andronat: First, I apologize for the extremely delayed response. There's not currently a way to pass arguments to the worker function. Although, I'm considering this idea in the next version I work on.
Does that mean it is also not possible to pass arguments to a function when using the click integration?
E.g. is the following supposed to work (it currently doesn't)?
Hello, thank you for your project, is really awesome, it helped me big time :)
I was wondering which is the right way and if it possible to pass arbitrary arguments on the
worker
function.More specifically, my problem is that I have a script and I want to read some parameters from a file. Then, depending on some user input I want to handle those parameters (from the file) either on the standard process of the script or start a daemon and pass those parameters on the daemon. Up until now, I am declaring those parameters on either a global variable or I create a class. Is there any other way?
Thanks
The text was updated successfully, but these errors were encountered: