original_docstring: 
          Lists the components waiting to be instantiated
          
docstring: Lists the components waiting to be instantiated
docstring_tokens: Lists the components waiting to be instantiated
code: def list_waitings(self, session, name=None):
          """
          Lists the components waiting to be instantiated
          """
          headers = ("Name", "Factory", "Missing handlers")
  
          components = self._ipopo.get_waiting_components()
          if name is not None:
              # Filter components by name
              components = [
                  component for component in components if name in component[0]
              ]
  
          # Lines are already sorted
          lines = (
              (name, factory, ", ".join(missing))
              for name, factory, missing in components
          )
  
          session.write(self._utils.make_table(headers, lines))
          if name is None:
              session.write_line(
                  "{0} components in the waiting queue", len(components)
              )
          else:
              session.write_line("{0} filtered components", len(components))
code_tokens: def list_waitings ( self , session , name = None ) : headers = ( "Name" , "Factory" , "Missing handlers" ) components = self . _ipopo . get_waiting_components ( ) if name is not None : components = [ component for component in components if name in component [ 0 ] ] lines = ( ( name , factory , ", " . join ( missing ) ) for name , factory , missing in components ) session . write ( self . _utils . make_table ( headers , lines ) ) if name is None : session . write_line ( "{0} components in the waiting queue" , len ( components ) ) else : session . write_line ( "{0} filtered components" , len ( components ) )
short_docstring: Lists the components waiting to be instantiated
short_docstring_tokens: Lists the components waiting to be instantiated
comment: """
          Lists the components waiting to be instantiated
          """$SEP$# Filter components by name$SEP$# Lines are already sorted