Closed Seemone closed 2 months ago
@Seemone thanks, can you add a test?
Where in the documentation does it say CronJobs accept kwargs?
@barakalon function documentation https://github.com/tobymao/saq/blob/d5be27cc4c9c123bed85ced97aad50ea4f519aed/saq/job.py#L54
it says here
**The remaining kwargs are pass through to Job:** (see equivalent field in Job for more)
* timeout
* heartbeat
* retries
* ttl
not arbitrary kwargs
@tobymao tests amended
you're right, I misread the comment.
consider this a feature addition then
Fix a bug where cronjob creation could not accept a kwargs parameter as described in the documentation