Cortex
10.0.0-a4
|
Acts like a dictionary, but performs substitutions on any string or StringData values retrieved from it. More...
Public Member Functions | |
def | __init__ (self, dict, substitutions, dictClasses=set([dict, IECore.CompoundObject, IECore, CompoundParameter, IECore, LayeredDict) |
def | __getitem__ (self, key) |
def | __contains__ (self, key) |
def | __eq__ (self, other) |
def | __ne__ (self, other) |
def | keys (self) |
def | values |
def | items |
def | get |
def | substitutions (self) |
Acts like a dictionary, but performs substitutions on any string or StringData values retrieved from it.
Substitutions are specified as a dictionary where keys are tokens to be substituted and values are the corresponding substitutions. Substitution is performed using string.Template().