Notifications#
- class autoreplit.classes.notifications.CommonNotif(json: Dict[str, Any])#
Bases:
QueryResultBase
The most common stucture for notifications. Look at
notifications.gql
for more details.- creator: SimpleUser#
The notification’s creator
- replComment: BasicComment | None#
The linked comment, if the type is a comment notif
- class autoreplit.classes.notifications.UnidentifiedNotif(json: Dict[str, Any])#
Bases:
QueryResultBase
Unidentified notification. Will produce a warning, please featrue request support for the unidentified type.
- autoreplit.classes.notifications.makeNotification(json: Dict[str, Any]) List[CommonNotif | UnidentifiedNotif] #
Sort and type notif’s.