code: def pprint_logs(
      logs: Iterable[
          Union[
              bindings.v1TaskLogsResponse, bindings.v1TrialLogsResponse
          ]
      ]
  ) -> None:
      for log in logs:
          print(log.message, end="")
  
imports: from typing import Iterable, List, Optional, Union
  from determined.common import api
  from determined.common.api import bindings
label_desc: Use image node_id 1 for calling a global function with example usage: pprint_logs(logs) without return types