1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #14365: Introduce job_start and job_end signals (#14393)

* Introduce job_start and job_end signals, and receivers to process event rules

* Complete signals documentation
This commit is contained in:
Jeremy Stretch
2023-11-30 19:36:41 -05:00
committed by GitHub
parent b812a50ca2
commit 4fc0a999ea
4 changed files with 61 additions and 20 deletions

View File

@ -4,10 +4,16 @@ from django.dispatch import Signal, receiver
from .models import ConfigRevision
__all__ = (
'job_end',
'job_start',
'post_sync',
'pre_sync',
)
# Job signals
job_start = Signal()
job_end = Signal()
# DataSource signals
pre_sync = Signal()
post_sync = Signal()