class_docstr: Interface for task schedulers.
class_docstr_tok: ["Interface","for","task","schedulers","."]
code: def __str__(self) -> str:
      return f"{self.__class__.__qualname__} instance for {self.task.task_id}"
  
imports: import abc
  from typing import Callable, Dict, Generic, List, Optional, Type, TypeVar, Union
  import attr
  from tfx import types
  from tfx.orchestration import metadata
  from tfx.orchestration.experimental.core import task
  from tfx.proto.orchestration import execution_result_pb2
  from tfx.proto.orchestration import pipeline_pb2
  from tfx.utils import status
label_desc: Use image node_id 4 for calling the TaskScheduler obj's underlying member method code with example usage: obj.__str__() and returns: self, str, self