LSSTApplications  17.0+11,17.0+34,17.0+56,17.0+57,17.0+59,17.0+7,17.0-1-g377950a+33,17.0.1-1-g114240f+2,17.0.1-1-g4d4fbc4+28,17.0.1-1-g55520dc+49,17.0.1-1-g5f4ed7e+52,17.0.1-1-g6dd7d69+17,17.0.1-1-g8de6c91+11,17.0.1-1-gb9095d2+7,17.0.1-1-ge9fec5e+5,17.0.1-1-gf4e0155+55,17.0.1-1-gfc65f5f+50,17.0.1-1-gfc6fb1f+20,17.0.1-10-g87f9f3f+1,17.0.1-11-ge9de802+16,17.0.1-16-ga14f7d5c+4,17.0.1-17-gc79d625+1,17.0.1-17-gdae4c4a+8,17.0.1-2-g26618f5+29,17.0.1-2-g54f2ebc+9,17.0.1-2-gf403422+1,17.0.1-20-g2ca2f74+6,17.0.1-23-gf3eadeb7+1,17.0.1-3-g7e86b59+39,17.0.1-3-gb5ca14a,17.0.1-3-gd08d533+40,17.0.1-30-g596af8797,17.0.1-4-g59d126d+4,17.0.1-4-gc69c472+5,17.0.1-6-g5afd9b9+4,17.0.1-7-g35889ee+1,17.0.1-7-gc7c8782+18,17.0.1-9-gc4bbfb2+3,w.2019.22
LSSTDataManagementBasePackage
Public Member Functions | List of all members
lsst.daf.persistence.butler.RepoDataContainer Class Reference
Inheritance diagram for lsst.daf.persistence.butler.RepoDataContainer:

Public Member Functions

def __init__ (self, repoDataList)
 
def inputs (self)
 
def outputs (self)
 
def all (self)
 
def __repr__ (self)
 

Detailed Description

Container object for RepoData instances owned by a Butler instance.

    Parameters
    ----------
    repoDataList : list of RepoData
        repoData - RepoData instance to add

Definition at line 243 of file butler.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.daf.persistence.butler.RepoDataContainer.__init__ (   self,
  repoDataList 
)

Definition at line 252 of file butler.py.

252  def __init__(self, repoDataList):
253  self._inputs = None
254  self._outputs = None
255  self._all = repoDataList
256  self._buildLookupLists()
257 
def __init__(self, minimum, dataRange, Q)

Member Function Documentation

◆ __repr__()

def lsst.daf.persistence.butler.RepoDataContainer.__repr__ (   self)

Definition at line 292 of file butler.py.

292  def __repr__(self):
293  return "%s(_inputs=%r, \n_outputs=%s, \n_all=%s)" % (
294  self.__class__.__name__,
295  self._inputs,
296  self._outputs,
297  self._all)
298 

◆ all()

def lsst.daf.persistence.butler.RepoDataContainer.all (   self)
Get a list of all RepoData that are used to as by the Butler.
The list is created lazily as needed, and cached.

Returns
-------
A list of RepoData with writable repositories, in the order to be use when searching.

Definition at line 282 of file butler.py.

282  def all(self):
283  """Get a list of all RepoData that are used to as by the Butler.
284  The list is created lazily as needed, and cached.
285 
286  Returns
287  -------
288  A list of RepoData with writable repositories, in the order to be use when searching.
289  """
290  return self._all
291 
bool all(CoordinateExpr< N > const &expr) noexcept
Return true if all elements are true.

◆ inputs()

def lsst.daf.persistence.butler.RepoDataContainer.inputs (   self)
Get a list of RepoData that are used to as inputs to the Butler.
The list is created lazily as needed, and cached.

Returns
-------
A list of RepoData with readable repositories, in the order to be used when searching.

Definition at line 258 of file butler.py.

258  def inputs(self):
259  """Get a list of RepoData that are used to as inputs to the Butler.
260  The list is created lazily as needed, and cached.
261 
262  Returns
263  -------
264  A list of RepoData with readable repositories, in the order to be used when searching.
265  """
266  if self._inputs is None:
267  raise RuntimeError("Inputs not yet initialized.")
268  return self._inputs
269 

◆ outputs()

def lsst.daf.persistence.butler.RepoDataContainer.outputs (   self)
Get a list of RepoData that are used to as outputs to the Butler.
The list is created lazily as needed, and cached.

Returns
-------
A list of RepoData with writable repositories, in the order to be use when searching.

Definition at line 270 of file butler.py.

270  def outputs(self):
271  """Get a list of RepoData that are used to as outputs to the Butler.
272  The list is created lazily as needed, and cached.
273 
274  Returns
275  -------
276  A list of RepoData with writable repositories, in the order to be use when searching.
277  """
278  if self._outputs is None:
279  raise RuntimeError("Outputs not yet initialized.")
280  return self._outputs
281 

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