code: def input_connections(self, name):
          
          for input_name in self._compound_children[name].inputs:
              dest = name, input_name
              for src, dests in self._compound_linkages.items():
                  if isinstance(dests[0], six.string_types):
                      dests = zip(dests[0::2], dests[1::2])
                  if dest in dests:
                      yield src, dest
docs: Yield ordered list of connections to one child.
  
          Each result is a ((component, output), (component, input)) tuple.
  
          :param string name: the component whose input connections are
              wanted.