lsst.datarel
14.0+66
|
Public Member Functions | |
def | __init__ (self, spec, typ, munge) |
Public Attributes | |
spec | |
typ | |
munge | |
A key in a path template. Three attributes are provided: spec Formatting spec for the key, e.g. '%(filter)s'. typ key value type; int or str munge A function that takes a key name, key value string and a dictionary. This function should return a fresh dictionary including new entries derived from the given key, value, and existing entries. The _mungeStr and _mungeInt functions are examples.