mirror of
https://github.com/netbox-community/netbox.git
synced 2026-02-05 14:56:24 -06:00
* Enable E501 rule * Configure ruff formatter * Reformat migration files to fix line length violations * Fix various E501 errors * Move table template code to template_code.py & ignore E501 errors * Reformat raw SQL
This commit is contained in:
@@ -203,7 +203,17 @@ class Job(models.Model):
|
||||
job_end.send(self)
|
||||
|
||||
@classmethod
|
||||
def enqueue(cls, func, instance=None, name='', user=None, schedule_at=None, interval=None, immediate=False, **kwargs):
|
||||
def enqueue(
|
||||
cls,
|
||||
func,
|
||||
instance=None,
|
||||
name='',
|
||||
user=None,
|
||||
schedule_at=None,
|
||||
interval=None,
|
||||
immediate=False,
|
||||
**kwargs
|
||||
):
|
||||
"""
|
||||
Create a Job instance and enqueue a job using the given callable
|
||||
|
||||
|
||||
Reference in New Issue
Block a user