class_docstr: OnlineStrategy is working with `Online Manager <#Online Manager>`_, responding to how the tasks are generated, the models are updated and signals are prepared.
class_docstr_tok: ["OnlineStrategy","is","working","with","`","Online","Manager","<","#","Online","Manager",">","`","_",",","responding","to","how","the","tasks","are","generated",",","the","models","are","updated","and","signals","are","prepared","."]
docstr: Generate a series of tasks firstly and return them.
docstr_tok: ["Generate","a","series","of","tasks","firstly","and","return","them","."]
code: def first_tasks(self) -> List[dict]:
      """
      Generate a series of tasks firstly and return them.
      """
      raise NotImplementedError(
          f"Please implement the `first_tasks` method."
      )
  
imports: from typing import List, Union
  from qlib.log import get_module_logger
  from qlib.model.ens.group import RollingGroup
  from qlib.utils import transform_end_date
  from qlib.workflow.online.utils import OnlineTool, OnlineToolR
  from qlib.workflow.recorder import Recorder
  from qlib.workflow.task.collect import Collector, RecorderCollector
  from qlib.workflow.task.gen import RollingGen, task_generator
  from qlib.workflow.task.utils import TimeAdjuster
label_desc: Use image node_id 4 for calling the OnlineStrategy obj's underlying member method code with example usage: obj.first_tasks() without return types