LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
Classes | Functions | Variables
lsst.daf.persistence.readProxy Namespace Reference

Classes

class  ReadProxy
 

Functions

def __subject__
 

Variables

 get_callback = ReadProxy.__callback__.__get__
 
 set_callback = ReadProxy.__callback__.__set__
 
 get_cache = ReadProxy.__cache__.__get__
 
 set_cache = ReadProxy.__cache__.__set__
 

Function Documentation

def lsst.daf.persistence.readProxy.__subject__ (   self,
  get_cache = get_cache,
  set_cache = set_cache 
)

Definition at line 132 of file readProxy.py.

133 def __subject__(self, get_cache=get_cache, set_cache=set_cache):
134  try:
135  return get_cache(self)
136  except AttributeError:
137  set_cache(self, get_callback(self)())
138  return get_cache(self)
139 
ReadProxy.__subject__ = property(__subject__, set_cache)

Variable Documentation

lsst.daf.persistence.readProxy.get_cache = ReadProxy.__cache__.__get__

Definition at line 129 of file readProxy.py.

lsst.daf.persistence.readProxy.get_callback = ReadProxy.__callback__.__get__

Definition at line 127 of file readProxy.py.

lsst.daf.persistence.readProxy.set_cache = ReadProxy.__cache__.__set__

Definition at line 130 of file readProxy.py.

lsst.daf.persistence.readProxy.set_callback = ReadProxy.__callback__.__set__

Definition at line 128 of file readProxy.py.