crate.operator.utils.notifications module

class crate.operator.utils.notifications.FlushNotificationsSubHandler(namespace, name, ref, context, depends_on=None, run_on_dep_failures=False, operation=None)

Bases: StateBasedSubHandler

Ensures any previously registered and pending notification is sent.

Parameters:
async handle(namespace, name, body, old, logger, status, **kwargs)
Parameters:
async crate.operator.utils.notifications.send_operation_progress_notification(*, namespace, name, message, logger, status, operation, action)
Parameters: