parameters: (self)
return_statement: return models
docstring: Get a list of all running terminals.
docstring_summary: Get a list of all running terminals.
docstring_tokens: Get a list of all running terminals .
function: def list(self):
          """Get a list of all running terminals."""
          models = [self.get_terminal_model(name) for name in self.terminals]
  
          # Update the metric below to the length of the list 'terms'
          TERMINAL_CURRENTLY_RUNNING_TOTAL.set(
              len(models)
          )
          return models
function_tokens: def list ( self ) : models = [ self . get_terminal_model ( name ) for name in self . terminals ] # Update the metric below to the length of the list 'terms' TERMINAL_CURRENTLY_RUNNING_TOTAL . set ( len ( models ) ) return models