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

Add description param to @job decorator #912

Merged
merged 1 commit into from Jan 2, 2018
Merged

Conversation

nlyubchich
Copy link
Contributor

After using @job decorator for a function that takes a long string, in RQ worker I got printed all the args/kwargs via job.get_call_string().

To get this overridden, I added description argument to the decorator.

I decided not to put this in delay method because it's may be currently be used by end user.

After using `@job` decorator for a function that takes a long string, in RQ worker I got printed all the args/kwargs via `job.get_call_string()`.

To get this overridden, I added `description` argument to the decorator.

I decided not to put this in `delay` method because it's may be currently be used by end user.
@coveralls
Copy link

coveralls commented Dec 21, 2017

Coverage Status

Coverage increased (+0.005%) to 90.137% when pulling 4a77d16 on nlyubchich:patch-1 into 7a3c85f on nvie:master.

@selwin selwin merged commit a3eb647 into rq:master Jan 2, 2018
@selwin
Copy link
Collaborator

selwin commented Jan 2, 2018

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants