coarnotify.patterns.unprocessable_notification

Pattern to represent the Unprocessable Notification notification https://coar-notify.net/specification/1.0.0/unprocessable/

Classes

UnprocessableNotification

Class to represent the Unprocessable Notification notification

Module Contents

class coarnotify.patterns.unprocessable_notification.UnprocessableNotification(stream: coarnotify.core.activitystreams2.ActivityStream | dict = None, validate_stream_on_construct=True, validate_properties=True, validators=None, validation_context=None, properties_by_reference=True)

Bases: coarnotify.core.notify.NotifyPattern, coarnotify.core.notify.SummaryMixin

Class to represent the Unprocessable Notification notification

validate() bool

In addition to the base validation apply the following constraints:

  • The inReplyTo property is required

  • The summary property is required

Returns:

TYPE

Unprocessable Notification types, including an ActivityStreams Flag and a COAR Notify Unprocessable Notification