class_docstr: ## Piecewise schedule
code: def __str__(self):
      endpoints = ", ".join(
          [f"({e[0]}, {e[1]})" for e in self._endpoints]
      )
      return f"Schedule[{endpoints}, {self._outside_value}]"
  
imports: from typing import Tuple, List
label_desc: Use image node_id 3 for calling the Piecewise obj's underlying member method code with example usage: obj.__str__() and returns: str, endpoints, str, self, str