devices.signals =============== .. py:module:: devices.signals .. autoapi-nested-parse:: Signals for device model events. Module Contents --------------- .. py:function:: schedule_gds_push_update_on_enable(sender, instance, *, created, update_fields, **kwargs) Schedule a GDS Push periodic update when the feature is toggled on for a device. Mirrors the CRL cycle scheduling pattern: whenever ``opc_gds_push_enable_periodic_update`` is flipped to ``True`` via a save with explicit ``update_fields``, the first update is immediately scheduled via Django-Q2. :param sender: The model class. :param instance: The DeviceModel instance that was saved. :param created: Whether the instance was just created. :param update_fields: The fields that were updated, or None if not specified. :param \*\*kwargs: Additional keyword arguments.