Skip to content

Conversation

gabriels1234
Copy link
Contributor

Fixes #159

@gabriels1234
Copy link
Contributor Author

@cunla I have added both a test for when --job-class is used and for when it's not used, ensuring proper behavior for both current django-tasks-scheduler users and also for those coming from django-rq-scheduler.
Would you like me to follow a different approach? like allowing any Job type, as a responsibility of the user?
In my case, I updated my CustomJob to inherit from JobExecution instead of rq.job.Job.

@gabriels1234
Copy link
Contributor Author

@cunla please let me know if I can be of help.
Thanks!!

@cunla cunla merged commit 8a09f51 into django-commons:master Sep 14, 2024
14 checks passed
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.

Add Custom job class (--job-class) to rqworker
2 participants