LSST Applications  22.0.1,22.0.1+01bcf6a671,22.0.1+046ee49490,22.0.1+05c7de27da,22.0.1+0c6914dbf6,22.0.1+1220d50b50,22.0.1+12fd109e95,22.0.1+1a1dd69893,22.0.1+1c910dc348,22.0.1+1ef34551f5,22.0.1+30170c3d08,22.0.1+39153823fd,22.0.1+611137eacc,22.0.1+771eb1e3e8,22.0.1+94e66cc9ed,22.0.1+9a075d06e2,22.0.1+a5ff6e246e,22.0.1+a7db719c1a,22.0.1+ba0d97e778,22.0.1+bfe1ee9056,22.0.1+c4e1e0358a,22.0.1+cc34b8281e,22.0.1+d640e2c0fa,22.0.1+d72a2e677a,22.0.1+d9a6b571bd,22.0.1+e485e9761b,22.0.1+ebe8d3385e
LSST Data Management Base Package
Public Member Functions | List of all members
lsst.pipe.base.connections.InputQuantizedConnection Class Reference
Inheritance diagram for lsst.pipe.base.connections.InputQuantizedConnection:
lsst.pipe.base.connections.QuantizedConnection

Public Member Functions

def __setattr__ (self, str name, typing.Union[DatasetRef, typing.List[DatasetRef]] value)
 
def __delattr__ (self, name)
 
typing.Generator[typing.Tuple[str, typing.Union[DatasetRef, typing.List[DatasetRef]]], None, None] __iter__ (self)
 
typing.Generator[str, None, None] keys (self)
 

Detailed Description

Definition at line 239 of file connections.py.

Member Function Documentation

◆ __delattr__()

def lsst.pipe.base.connections.QuantizedConnection.__delattr__ (   self,
  name 
)
inherited

Definition at line 217 of file connections.py.

217  def __delattr__(self, name):
218  object.__delattr__(self, name)
219  self._attributes.remove(name)
220 

◆ __iter__()

typing.Generator[typing.Tuple[str, typing.Union[DatasetRef, typing.List[DatasetRef]]], None, None] lsst.pipe.base.connections.QuantizedConnection.__iter__ (   self)
inherited
Make an Iterator for this QuantizedConnection

Iterating over a QuantizedConnection will yield a tuple with the name
of an attribute and the value associated with that name. This is
similar to dict.items() but is on the namespace attributes rather than
dict keys.

Definition at line 221 of file connections.py.

222  typing.List[DatasetRef]]], None, None]:
223  """Make an Iterator for this QuantizedConnection
224 
225  Iterating over a QuantizedConnection will yield a tuple with the name
226  of an attribute and the value associated with that name. This is
227  similar to dict.items() but is on the namespace attributes rather than
228  dict keys.
229  """
230  yield from ((name, getattr(self, name)) for name in self._attributes)
231 

◆ __setattr__()

def lsst.pipe.base.connections.QuantizedConnection.__setattr__ (   self,
str  name,
typing.Union[DatasetRef, typing.List[DatasetRef]]  value 
)
inherited

Definition at line 212 of file connections.py.

212  def __setattr__(self, name: str, value: typing.Union[DatasetRef, typing.List[DatasetRef]]):
213  # Capture the attribute name as it is added to this object
214  self._attributes.add(name)
215  super().__setattr__(name, value)
216 

◆ keys()

typing.Generator[str, None, None] lsst.pipe.base.connections.QuantizedConnection.keys (   self)
inherited
Returns an iterator over all the attributes added to a
QuantizedConnection class

Definition at line 232 of file connections.py.

232  def keys(self) -> typing.Generator[str, None, None]:
233  """Returns an iterator over all the attributes added to a
234  QuantizedConnection class
235  """
236  yield from self._attributes
237 
238 

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