parameters: (self, index: Optional[int], est_timeout: TimeoutEstimate,
                           suite: GeneratedSuite, params: ResmokeGenTaskParams)
return_statement: return self._generate_task(
              suite.sub_suite_config_file(index), suite.sub_suite_task_name(index),
              [] if index is None else suite.sub_suite_test_list(index), est_timeout, params, suite,
              excludes=suite.get_test_list() if index is None else [])
docstring: Create the sub task for the given suite.
  
          :param index: index of sub_suite.
          :param est_timeout: timeout estimate.
          :param suite: Parent suite being created.
          :param params: Parameters describing how tasks should be generated.
          :return: ResmokeTask object describing the task.
docstring_summary: Create the sub task for the given suite.
docstring_tokens: Create the sub task for the given suite .
function: def _create_sub_task(self, index: Optional[int], est_timeout: TimeoutEstimate,
                           suite: GeneratedSuite, params: ResmokeGenTaskParams) -> ResmokeTask:
          """
          Create the sub task for the given suite.
  
          :param index: index of sub_suite.
          :param est_timeout: timeout estimate.
          :param suite: Parent suite being created.
          :param params: Parameters describing how tasks should be generated.
          :return: ResmokeTask object describing the task.
          """
          return self._generate_task(
              suite.sub_suite_config_file(index), suite.sub_suite_task_name(index),
              [] if index is None else suite.sub_suite_test_list(index), est_timeout, params, suite,
              excludes=suite.get_test_list() if index is None else [])
function_tokens: def _create_sub_task ( self , index : Optional [ int ] , est_timeout : TimeoutEstimate , suite : GeneratedSuite , params : ResmokeGenTaskParams ) -> ResmokeTask : return self . _generate_task ( suite . sub_suite_config_file ( index ) , suite . sub_suite_task_name ( index ) , [ ] if index is None else suite . sub_suite_test_list ( index ) , est_timeout , params , suite , excludes = suite . get_test_list ( ) if index is None else [ ] )