iterConnections¶
- 
lsst.pipe.base.iterConnections(connections: lsst.pipe.base.connections.PipelineTaskConnections, connectionType: str) → Generator[T_co, T_contra, V_co]¶
- Creates an iterator over the selected connections type which yields all the defined connections of that type. - Parameters: - connections: `PipelineTaskConnections`
- An instance of a - PipelineTaskConnectionsobject that will be iterated over.
- connectionType: `str`
- The type of connections to iterate over, valid values are inputs, outputs, prerequisiteInputs, initInputs, initOutputs. 
 - Yields: - connection: `BaseConnection`
- A connection defined on the input connections object of the type supplied. The yielded value Will be an derived type of - BaseConnection.