Module ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad For TupleStore NameStore NameStore NameStore NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore IfExp CompareIsNot NameLoad NameLoad NameLoad Call NameLoad Assign NameStore IfExp CompareIsNot NameLoad NameLoad NameLoad Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad TupleLoad NameLoad NameLoad NameLoad AugAssignAdd AttributeStore NameLoad attr Num Return NameLoad decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body Expr Call NameLoad NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body TryExcept body Delete SubscriptDel SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Num decorator_list decorator_list
N/A collections defaultdict N/A on_f_docstring     When {actioned} call `f` with positional and keyword args and kw

    Parameters
    ----------
    f : callable
        Function to call when object changes
    args : tuple
        sequence of positional args to f
    kw : dict
        dict of keyword args to f

    Returns
    -------
    cid : int
        connection id which can be used to disconnect.
     N/A fed_docstring Call {on_action} observers with appropriate arguments N/A disf_docstring     remove {on_action} observers with connection id *cid*

    Parameters
    ----------
    cid : int
        remove observer with given connection id
     ActionableMeta N/A type N/A N/A Metaclass for populating boilerplate callback methods

    Consumes the class attribute ACTIONS, where ACTIONS is a list of
    3-element tuples.  The elements are the names of the on_ACTION, ACTIONED,
    and disconnect_ACTION methods.
     __new__ N/A N/A meta name bases dct N/A N/A N/A actions N/A N/A dct pop ACTIONS N/A N/A N/A on_action actioned disconnect actions N/A on_f N/A N/A self f args kw N/A None None N/A N/A args N/A N/A args None args N/A tuple N/A kw N/A N/A kw None kw N/A dict N/A cid N/A self cid N/A N/A N/A N/A self _callbacks N/A on_action N/A cid N/A f args kw N/A N/A self cid 1 N/A cid N/A N/A N/A on_f __doc__ N/A N/A on_f_docstring format actioned actioned N/A N/A on_f __name__ on_action N/A N/A dct N/A on_action on_f fed N/A N/A self N/A N/A N/A N/A f args kw N/A N/A N/A N/A self _callbacks N/A on_action values N/A N/A N/A f args kw N/A N/A N/A fed __doc__ N/A N/A fed_docstring format on_action on_action N/A N/A fed __name__ actioned N/A N/A dct N/A actioned fed disf N/A N/A self cid N/A N/A N/A N/A N/A N/A N/A N/A self _callbacks N/A on_action N/A cid N/A N/A N/A KeyError N/A N/A N/A N/A N/A disf __doc__ N/A N/A disf_docstring format on_action on_action N/A N/A disf __name__ disconnect N/A N/A dct N/A disconnect disf N/A N/A N/A N/A super ActionableMeta meta __new__ meta name bases dct N/A N/A Actionable N/A object N/A N/A Class for managing callbacks functions.

    Populates the class with functions for registering callbacks (on_ACTION),
    un-registering callbacks (disconnect_ACTION), and calling the registered
    callback function (ACTIONED).

    Subclasses must define a class attribute ACTIONS that contains a list of
    tuples.  Each tuple should be three elements long and contain the names of
    the on_ACTION, ACTIONED, and disconnect_ACTION functions.
     N/A __metaclass__ ActionableMeta __init__ N/A N/A self N/A N/A N/A N/A self _callbacks N/A defaultdict dict N/A N/A self cid 0 N/A N/A