lsst.daf.persistence
13.0-36-gb9d951e
|
Public Member Functions | |
def | cfg |
def | __init__ |
def | __repr__ |
def | mapperClass |
def | root |
def | locationWithRoot |
def | setCfg |
def | loadCfg |
def | write |
def | read |
def | exists |
def | lookup |
Public Attributes | |
storage | |
Implements an butler framework interface for Transport, Storage, and Registry .. warning:: Access is 'wet paint' and very likely to change. Use of it in production code other than via the 'old butler' API is strongly discouraged.
def lsst.daf.persistence.access.Access.__init__ | ( | self, | |
cfg | |||
) |
def lsst.daf.persistence.access.Access.cfg | ( | cls, | |
storageCfg | |||
) |
def lsst.daf.persistence.access.Access.exists | ( | self, | |
location | |||
) |
Query if a location exists. As of this writing the only storage type is PosixStorage, and it works to say that 'location' is a simple locaiton descriptor. In the case of PosixStorage that's a path. If this needs to become more complex it could be changed to be a butlerLocation, or something else, as needed. :param location: a simple location descriptor, type is dependent on Storage. :return: True if location exists, else False.
def lsst.daf.persistence.access.Access.loadCfg | ( | self | ) |
def lsst.daf.persistence.access.Access.locationWithRoot | ( | self, | |
location | |||
) |
def lsst.daf.persistence.access.Access.lookup | ( | self, | |
args, | |||
kwargs | |||
) |
def lsst.daf.persistence.access.Access.mapperClass | ( | self | ) |
def lsst.daf.persistence.access.Access.read | ( | self, | |
butlerLocation | |||
) |
def lsst.daf.persistence.access.Access.root | ( | self | ) |
def lsst.daf.persistence.access.Access.setCfg | ( | self, | |
repoCfg | |||
) |
def lsst.daf.persistence.access.Access.write | ( | self, | |
butlerLocation, | |||
obj | |||
) |