code: def _for_each_output_type(channel: channel_types.BaseChannel):
      return {"out": channel.type}
  
file_path: tfx/tfx/dsl/control_flow/for_each.py
imports: from typing import Union, cast, Any
  from tfx.dsl.context_managers import dsl_context_manager
  from tfx.dsl.control_flow import for_each_internal
  from tfx.dsl.input_resolution import resolver_function
  from tfx.dsl.input_resolution.ops import ops
  from tfx.types import channel
label_desc: Use image node_id 2 for calling a global function with example usage: _for_each_output_type(channel) and returns: dict