translator_directory.models.message

Classes

TranslatorMutationMessage

A single chat message bound to channel.

AccreditationMessage

A single chat message bound to channel.

Module Contents

class translator_directory.models.message.TranslatorMutationMessage[source]

Bases: onegov.chat.Message, onegov.org.models.message.TicketMessageMixin

A single chat message bound to channel.

__mapper_args__[source]
classmethod create(ticket: onegov.ticket.Ticket, request: onegov.translator_directory.request.TranslatorAppRequest, change: str, changes: list[str]) typing_extensions.Self[source]
applied_changes() list[str][source]
class translator_directory.models.message.AccreditationMessage[source]

Bases: onegov.chat.Message, onegov.org.models.message.TicketMessageMixin

A single chat message bound to channel.

__mapper_args__[source]
classmethod create(ticket: onegov.ticket.Ticket, request: onegov.translator_directory.request.TranslatorAppRequest, change: str) typing_extensions.Self[source]