code: def collect(self, tag_id: str, record):
      try:
          self._j_side_output_context.collectSideOutputById(
              tag_id,
              self._side_output_converters[tag_id].to_external(record),
          )
      except KeyError:
          raise Exception(
              "Unknown OutputTag id {0}, supported OutputTag ids are {1}".format(
                  tag_id, list(self._side_output_converters.keys())
              )
          )
  
imports: from typing import Dict
  from pyflink.fn_execution.embedded.converters import from_type_info_proto, DataConverter
label_desc: Use image node_id 2 for calling the SideOutputContext obj's underlying member method code with example usage: obj.collect(tag_id, record) without return types