lsst.daf.persistence g17e5ecfddb+806041dbc7
|
Public Member Functions | |
def | cfg (cls, storageCfg) |
def | __init__ (self, cfg) |
def | __repr__ (self) |
def | mapperClass (self) |
def | root (self) |
def | locationWithRoot (self, location) |
def | setCfg (self, repoCfg) |
def | loadCfg (self) |
def | write (self, butlerLocation, obj) |
def | read (self, butlerLocation) |
def | exists (self, location) |
def | lookup (self, *args, **kwargs) |
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 | |||
) |