original_docstring: Calls a list of functions (which are passed by name) on the
              corresponding env (by index).
  
          Args:
              function_names: The name of the functions to call on the envs.
              function_args_list: List of function args for each function. If
                  provided, len(function_args_list) should be as long as
                  len(function_names).
          Returns:
              A The result of calling the function.
          
docstring: Calls a list of functions (which are passed by name) on the
  corresponding env (by index).
docstring_tokens: Calls a list of functions ( which are passed by name ) on the corresponding env ( by index ) .
code: def call(
          self,
          function_names: List[str],
          function_args_list: Optional[List[Any]] = None,
      ) -> List[Any]:
          """Calls a list of functions (which are passed by name) on the
              corresponding env (by index).
  
          Args:
              function_names: The name of the functions to call on the envs.
              function_args_list: List of function args for each function. If
                  provided, len(function_args_list) should be as long as
                  len(function_names).
          Returns:
              A The result of calling the function.
          """
          self._is_waiting = True
          if function_args_list is None:
              function_args_list = [None] * len(function_names)
          assert len(function_names) == len(function_args_list)
          func_args = zip(function_names, function_args_list)
          for write_fn, func_args_on in zip(
              self._connection_write_fns, func_args
          ):
              write_fn((CALL_COMMAND, func_args_on))
          results = []
          for read_fn in self._connection_read_fns:
              results.append(read_fn())
          self._is_waiting = False
          return results
code_tokens: def call ( self , function_names : List [ str ] , function_args_list : Optional [ List [ Any ] ] = None , ) -> List [ Any ] : self . _is_waiting = True if function_args_list is None : function_args_list = [ None ] * len ( function_names ) assert len ( function_names ) == len ( function_args_list ) func_args = zip ( function_names , function_args_list ) for write_fn , func_args_on in zip ( self . _connection_write_fns , func_args ) : write_fn ( ( CALL_COMMAND , func_args_on ) ) results = [ ] for read_fn in self . _connection_read_fns : results . append ( read_fn ( ) ) self . _is_waiting = False return results
short_docstring: Calls a list of functions (which are passed by name) on the
  corresponding env (by index).
short_docstring_tokens: Calls a list of functions ( which are passed by name ) on the corresponding env ( by index ) .
comment: """Calls a list of functions (which are passed by name) on the
              corresponding env (by index).
  
          Args:
              function_names: The name of the functions to call on the envs.
              function_args_list: List of function args for each function. If
                  provided, len(function_args_list) should be as long as
                  len(function_names).
          Returns:
              A The result of calling the function.
          """