coarnotify.patterns.tentatively_reject¶
Pattern for the Tentatively Reject notification https://coar-notify.net/specification/1.0.0/tentative-reject/
Classes¶
Class to represent a Tentative Reject notification |
Module Contents¶
- class coarnotify.patterns.tentatively_reject.TentativelyReject(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.NestedPatternObjectMixin,coarnotify.core.notify.NotifyPattern,coarnotify.core.notify.SummaryMixinClass to represent a Tentative Reject notification
- validate() bool¶
In addition to the base validation apply the following constraints:
The
inReplyToproperty is requiredThe
inReplyTovalue must match theobject.idvalue
- Returns:
- TYPE¶
Tentative Reject type, the ActivityStreams Tentative Reject type