LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
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: