_KeywordEvent

class Cauldron.ext.declarative.events._KeywordEvent(keyword, instance, event)[source] [edit on github]

Bases: object

Instrumentation to apply an event to a keyword.

Attributes Summary

name
nlisteners Number of listening callbacks.
replace_method

Methods Summary

__call__(*args, **kwargs) This is used to call the underlying method, and to notify listeners.

Attributes Documentation

name = ''
nlisteners

Number of listening callbacks.

replace_method = False

Methods Documentation

__call__(*args, **kwargs)[source] [edit on github]

This is used to call the underlying method, and to notify listeners.