Skip to main content

emit_pre_migrate_signal

Emit the pre_migrate signal for every application.

def emit_pre_migrate_signal(
verbosity: int,
interactive: boolean,
db: string,
**kwargs: dict
) - > null

Emit the pre_migrate signal for every application.

Parameters

NameTypeDescription
verbosityintThe level of detail for output messages, where a value of 2 or higher triggers logging of handler execution.
interactivebooleanA flag indicating whether the handlers are allowed to prompt the user for input during the migration process.
dbstringThe database alias for which the pre-migrate signal is being triggered.
**kwargsdictAdditional keyword arguments passed to the signal handlers, such as 'stdout' for custom output streams.

Returns

TypeDescription
nullNothing is returned; the function performs side effects by sending signals to registered handlers.