LSSTApplications  11.0-24-g0a022a1,14.0+77,15.0,15.0+1
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | List of all members
lsst.datarel.datasetScanner._PathComponent Class Reference
Inheritance diagram for lsst.datarel.datasetScanner._PathComponent:

Public Member Functions

def __init__ (self, keys, regex, simple)
 

Public Attributes

 keys
 
 regex
 
 simple
 

Detailed Description

A single component (directory or file) of a path template. The
following attributes are provided:

keys
    List of key names first occurring in this path component.

regex
    Compiled regular expression identifying matches to this path
    component unless simple is True; in that case, regex is just
    a string literal

simple
    True if regex is a simple string literal rather than a pattern.
    In this case, keys will always by None or [].

Definition at line 188 of file datasetScanner.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.datarel.datasetScanner._PathComponent.__init__ (   self,
  keys,
  regex,
  simple 
)

Definition at line 205 of file datasetScanner.py.

205  def __init__(self, keys, regex, simple):
206  self.keys = keys
207  self.regex = regex
208  self.simple = simple
209 
210 
def __init__(self, needLockOnRead=True, data=None, cond=None)
Definition: SharedData.py:53

Member Data Documentation

◆ keys

lsst.datarel.datasetScanner._PathComponent.keys

Definition at line 206 of file datasetScanner.py.

◆ regex

lsst.datarel.datasetScanner._PathComponent.regex

Definition at line 207 of file datasetScanner.py.

◆ simple

lsst.datarel.datasetScanner._PathComponent.simple

Definition at line 208 of file datasetScanner.py.


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