lsst.daf.persistence  13.0-35-g3a9824c
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Public Member Functions | Public Attributes | List of all members
lsst.daf.persistence.repositoryMapper.RepositoryMapper Class Reference
Inheritance diagram for lsst.daf.persistence.repositoryMapper.RepositoryMapper:

Public Member Functions

def __init__
 
def __repr__
 
def map_cfg
 
def map_repo
 

Public Attributes

 policy
 
 storage
 

Detailed Description

"Base class for a mapper to find repository configurations within a butler repository.

.. warning::

        cfg is 'wet paint' and very likely to change. Use of it in production code other than via the 'old
        butler' API is strongly discouraged.

Definition at line 28 of file repositoryMapper.py.

Constructor & Destructor Documentation

def lsst.daf.persistence.repositoryMapper.RepositoryMapper.__init__ (   self,
  storage,
  policy 
)

Definition at line 37 of file repositoryMapper.py.

Member Function Documentation

def lsst.daf.persistence.repositoryMapper.RepositoryMapper.__repr__ (   self)

Definition at line 44 of file repositoryMapper.py.

def lsst.daf.persistence.repositoryMapper.RepositoryMapper.map_cfg (   self,
  dataId,
  write 
)
Map a location for a cfg file.

:param dataId: keys & values to be applied to the template.
:param write: True if this map is being done do perform a write operation, else assumes read. Will
      verify location exists if write is True.
:return: a butlerLocation that describes the mapped location.

Definition at line 50 of file repositoryMapper.py.

def lsst.daf.persistence.repositoryMapper.RepositoryMapper.map_repo (   self,
  dataId,
  write 
)

Definition at line 72 of file repositoryMapper.py.

Member Data Documentation

lsst.daf.persistence.repositoryMapper.RepositoryMapper.policy

Definition at line 41 of file repositoryMapper.py.

lsst.daf.persistence.repositoryMapper.RepositoryMapper.storage

Definition at line 42 of file repositoryMapper.py.


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