parameters: (self)
docstring: Completely cleanout containers that are part of this pool.
docstring_summary: Completely cleanout containers that are part of this pool.
docstring_tokens: Completely cleanout containers that are part of this pool .
function: def cleanout(self):
          '''Completely cleanout containers that are part of this pool.'''
          app_log.info("Performing initial pool cleanup")
  
          containers = yield self.spawner.list_notebook_servers(self.container_name_pattern, all=True)
          for container in containers:
              try:
                  app_log.debug("Clearing old container [%s] from pool", container['Id'])
                  yield self.spawner.shutdown_notebook_server(container['Id'])
              except Exception as e:
                  app_log.warn(e)
function_tokens: def cleanout ( self ) : app_log . info ( "Performing initial pool cleanup" ) containers = yield self . spawner . list_notebook_servers ( self . container_name_pattern , all = True ) for container in containers : try : app_log . debug ( "Clearing old container [%s] from pool" , container [ 'Id' ] ) yield self . spawner . shutdown_notebook_server ( container [ 'Id' ] ) except Exception as e : app_log . warn ( e )