original_docstring: Annotates the types of main inputs and side inputs for the PTransform.
  
      Args:
        input_type_hint: An instance of an allowed built-in type, a custom class,
          or an instance of a typehints.TypeConstraint.
        *side_inputs_arg_hints: A variable length argument composed of
          of an allowed built-in type, a custom class, or a
          typehints.TypeConstraint.
        **side_input_kwarg_hints: A dictionary argument composed of
          of an allowed built-in type, a custom class, or a
          typehints.TypeConstraint.
  
      Example of annotating the types of side-inputs::
  
        FlatMap().with_input_types(int, int, bool)
  
      Raises:
        :class:`~exceptions.TypeError`: If **type_hint** is not a valid type-hint.
          See
          :func:`~apache_beam.typehints.typehints.validate_composite_type_param`
          for further details.
  
      Returns:
        :class:`PTransform`: A reference to the instance of this particular
        :class:`PTransform` object. This allows chaining type-hinting related
        methods.
      
docstring: Annotates the types of main inputs and side inputs for the PTransform.
docstring_tokens: Annotates the types of main inputs and side inputs for the PTransform .
code: def with_input_types(
        self, input_type_hint, *side_inputs_arg_hints, **side_input_kwarg_hints):
      """Annotates the types of main inputs and side inputs for the PTransform.
  
      Args:
        input_type_hint: An instance of an allowed built-in type, a custom class,
          or an instance of a typehints.TypeConstraint.
        *side_inputs_arg_hints: A variable length argument composed of
          of an allowed built-in type, a custom class, or a
          typehints.TypeConstraint.
        **side_input_kwarg_hints: A dictionary argument composed of
          of an allowed built-in type, a custom class, or a
          typehints.TypeConstraint.
  
      Example of annotating the types of side-inputs::
  
        FlatMap().with_input_types(int, int, bool)
  
      Raises:
        :class:`~exceptions.TypeError`: If **type_hint** is not a valid type-hint.
          See
          :func:`~apache_beam.typehints.typehints.validate_composite_type_param`
          for further details.
  
      Returns:
        :class:`PTransform`: A reference to the instance of this particular
        :class:`PTransform` object. This allows chaining type-hinting related
        methods.
      """
      super(PTransformWithSideInputs, self).with_input_types(input_type_hint)
  
      for si in side_inputs_arg_hints:
        validate_composite_type_param(si, 'Type hints for a PTransform')
      for si in side_input_kwarg_hints.values():
        validate_composite_type_param(si, 'Type hints for a PTransform')
  
      self.side_inputs_types = side_inputs_arg_hints
      return WithTypeHints.with_input_types(
          self, input_type_hint, *side_inputs_arg_hints, **side_input_kwarg_hints)
code_tokens: def with_input_types ( self , input_type_hint , * side_inputs_arg_hints , ** side_input_kwarg_hints ) : super ( PTransformWithSideInputs , self ) . with_input_types ( input_type_hint ) for si in side_inputs_arg_hints : validate_composite_type_param ( si , 'Type hints for a PTransform' ) for si in side_input_kwarg_hints . values ( ) : validate_composite_type_param ( si , 'Type hints for a PTransform' ) self . side_inputs_types = side_inputs_arg_hints return WithTypeHints . with_input_types ( self , input_type_hint , * side_inputs_arg_hints , ** side_input_kwarg_hints )
short_docstring: Annotates the types of main inputs and side inputs for the PTransform.
short_docstring_tokens: Annotates the types of main inputs and side inputs for the PTransform .
comment: """Annotates the types of main inputs and side inputs for the PTransform.
  
      Args:
        input_type_hint: An instance of an allowed built-in type, a custom class,
          or an instance of a typehints.TypeConstraint.
        *side_inputs_arg_hints: A variable length argument composed of
          of an allowed built-in type, a custom class, or a
          typehints.TypeConstraint.
        **side_input_kwarg_hints: A dictionary argument composed of
          of an allowed built-in type, a custom class, or a
          typehints.TypeConstraint.
  
      Example of annotating the types of side-inputs::
  
        FlatMap().with_input_types(int, int, bool)
  
      Raises:
        :class:`~exceptions.TypeError`: If **type_hint** is not a valid type-hint.
          See
          :func:`~apache_beam.typehints.typehints.validate_composite_type_param`
          for further details.
  
      Returns:
        :class:`PTransform`: A reference to the instance of this particular
        :class:`PTransform` object. This allows chaining type-hinting related
        methods.
      """