Public Member Functions | |
def | __init__ (self, modifier_or_dict) |
def | __enter__ (self) |
def | __exit__ (self, type, value, traceback) |
context class to allow setting the current context. Example useage with layer: modifiers = {'modifier1': modifier1, 'modifier2': modifier2} with Modifiers(modifiers): modifier = ModifierContext.current().get_modifier('modifier1') layer(modifier=modifier)
Definition at line 43 of file modifier_context.py.