orangeqs.juice.alerting._factory#

Factory module for creating senders.

Module Contents#

Classes#

SenderFactory

Factory class for creating senders based on alert routing configuration.

API#

class orangeqs.juice.alerting._factory.SenderFactory#

Factory class for creating senders based on alert routing configuration.

static create_sender(sender_type: str) orangeqs.juice.alerting._schemas.SenderInterface#

Create a sender instance based on the provided configuration.

Args: sender_config (dict): Configuration dictionary for the sender.

Returns#

  • (SenderInterface: An instance of a sender that implements the SenderInterface.)