Migration event
mongorunway.domain.migration_event
¤
EventHandler: typing.TypeAlias = typing.Callable[['MigrationEvent'], None]
module-attribute
¤
EventHandlerProxyOr: typing.TypeAlias = typing.Union[EventHandlerT, 'EventHandlerProxy']
module-attribute
¤
EventHandlerT = typing.TypeVar('EventHandlerT', bound=EventHandler)
module-attribute
¤
__all__: typing.Sequence[str] = ('EventHandler', 'EventHandlerProxy', 'EventHandlerProxyOr', 'EventHandlerT', 'StartingEvent', 'ClosingEvent', 'ApplicationEvent', 'MigrationEvent')
module-attribute
¤
ApplicationEvent
¤
Bases: MigrationEvent
Source code in mongorunway\domain\migration_event.py
application: applications.MigrationApp = attr.field()
instance-attribute
class-attribute
¤
ClosingEvent
¤
Bases: ApplicationEvent
EventHandlerProxy
¤
Source code in mongorunway\domain\migration_event.py
MigrationEvent
¤
StartingEvent
¤
Bases: ApplicationEvent