code: def __init__(
      self,
      session_id: str,
      task_manager_ref: mo.ActorRefType[TaskManagerActor],
  ):
      self._session_id = session_id
      self._task_manager_ref = task_manager_ref
  
file_path: mars/mars/services/task/api/oscar.py
imports: from typing import List, Union
  from ....None import oscar
  from ....core import Tileable
  from ....lib.aio import alru_cache
  from ...subtask import SubtaskResult
  from ..core import TileableGraph, TaskResult, MapReduceInfo
  from ..supervisor.manager import TaskManagerActor
  from .core import AbstractTaskAPI
label_desc: Use image node_id 1 to create a new TaskAPI object from inherited base classes: AbstractTaskAPI with example: obj = TaskAPI(session_id, task_manager_ref)