lsst.daf.persistence
13.0-32-g7b14ddd
|
Public Member Functions | |
def | write |
def | read |
Definition at line 31 of file fmtPosixRepositoryCfg.py.
def lsst.daf.persistence.fmtPosixRepositoryCfg.RepositoryCfgPosixFormatter.read | ( | cls, | |
butlerLocation | |||
) |
Definition at line 106 of file fmtPosixRepositoryCfg.py.
def lsst.daf.persistence.fmtPosixRepositoryCfg.RepositoryCfgPosixFormatter.write | ( | cls, | |
cfg, | |||
butlerLocation | |||
) |
Serialize a RepositoryCfg to a location. When the location is the same as cfg.root, the RepositoryCfg is to be written at the root location of the repository. In that case, root is not written in the serialized cfg; it is implicit in the location of the cfg. This allows the cfg to move from machine to machine without modification. Parameters ---------- cfg : RepositoryCfg instance The RepositoryCfg to be serialized. butlerLocation : ButlerLocation The location to write the RepositoryCfg.
Definition at line 34 of file fmtPosixRepositoryCfg.py.