swh.coarnotify.client module# COAR Notify clients. class swh.coarnotify.client.COARNotifyClient[source]# Bases: object A basic CN client. send(payload: dict) → bool[source]# Send the notification using requests. Parameters: payload – an outbound notification payload Raises: request.HTTPError – the inbox rejected our notification Returns: True if the inbox accepted the notification class swh.coarnotify.client.DevCOARNotifyClient[source]# Bases: COARNotifyClient CN client that sends notification to a single inbox URL. class swh.coarnotify.client.DummyCOARNotifyClient[source]# Bases: COARNotifyClient Dummy CN client that does nothing. send(payload: dict)[source]# Pretends to send the notification. Parameters: payload – an outbound notification payload Returns: Always returns True