LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | List of all members
lsst.datarel.datasetScanner._FormatKey Class Reference
Inheritance diagram for lsst.datarel.datasetScanner._FormatKey:

Public Member Functions

def __init__
 

Public Attributes

 spec
 
 typ
 
 munge
 

Detailed Description

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.

Definition at line 151 of file datasetScanner.py.

Constructor & Destructor Documentation

def lsst.datarel.datasetScanner._FormatKey.__init__ (   self,
  spec,
  typ,
  munge 
)

Member Data Documentation

lsst.datarel.datasetScanner._FormatKey.munge

Definition at line 169 of file datasetScanner.py.

lsst.datarel.datasetScanner._FormatKey.spec

Definition at line 167 of file datasetScanner.py.

lsst.datarel.datasetScanner._FormatKey.typ

Definition at line 168 of file datasetScanner.py.


The documentation for this class was generated from the following file: