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

Unclear docs / examples for unique_args #211

Closed
untoldone opened this issue Feb 22, 2017 · 2 comments
Closed

Unclear docs / examples for unique_args #211

untoldone opened this issue Feb 22, 2017 · 2 comments

Comments

@untoldone
Copy link

There's a lack of docs for what is passed as parameters to the :unique_args lambda / method. What is args? what are the methods on args? In the example, there are three parameters to the method, but what are they supposed to be?

@untoldone
Copy link
Author

untoldone commented Feb 22, 2017

Btw, this was almost certainly less clear due to #193 (comment) as I thought I didn't understand how it works

@mhenrixon
Copy link
Owner

The args will always be an array of arguments that are passed to the unique_args method. That is just how everything is wired. Even if your job has zero or more arguments the args will be an array.

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

2 participants