class_docstr: Abstract output handler interface
class_docstr_tok: ["Abstract","output","handler","interface"]
docstr: :param t_input: Translator input.
  :param t_output: Translator output.
  :param t_walltime: Total wall-clock time for translation.
docstr_tok: [":","param","t_input",":","Translator","input",".",":","param","t_output",":","Translator","output",".",":","param","t_walltime",":","Total","wall-clock","time","for","translation","."]
code: def handle(
      self,
      t_input: inference.TranslatorInput,
      t_output: inference.TranslatorOutput,
      t_walltime: float = 0.0,
  ):
      """
      :param t_input: Translator input.
      :param t_output: Translator output.
      :param t_walltime: Total wall-clock time for translation.
      """
      pass
  
imports: import json
  import sys
  from abc import ABC, abstractmethod
  from itertools import chain
  from typing import Optional
  import sockeye.constants
  from sockeye.utils import smart_open
  from .None import inference
label_desc: Use image node_id 1 for calling the OutputHandler obj's underlying member method code with example usage: obj.handle(t_input, t_output, t_walltime) without return types