Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mainly.ai/llms.txt

Use this file to discover all available pages before exploring further.

Notice(level='info', message='')

Example

from mirmod.controls import Notice

@wob.receiver("state", "notification", control=Notice(level='warning', message='Please enter valid data'), hidden=True, connectable=False)
def show_notice(self, data):
	pass

Parameters

NameTypeDescription
levelstringNotification level: ‘info’, ‘warning’, ‘error’, etc. Default ‘info’.
messagestringThe message text to display. Default empty.