Reference 〉 Function

Events.remove(namestr|list[str])

Removes a previously added Event.

Parameters

  • name str|list[str], required

    The name of the event to remove, or a list of such names. This will be the name of the function if the @model.event decorator was used.

Return Value bool|list[bool]

Whether the named event or events existed and was removed.

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.

History