apache_beam.typehints.row_type module

class apache_beam.typehints.row_type.RowTypeConstraint(fields)[source]

Bases: apache_beam.typehints.typehints.TypeConstraint

type_check(instance)[source]
get_type_for(name)[source]
bind_type_variables(unused_bindings)
match_type_variables(unused_concrete_type)
visit(visitor, visitor_arg)

Visitor method to visit all inner types of a composite type.

Parameters:
  • visitor – A callable invoked for all nodes in the type tree comprising a composite type. The visitor will be called with the node visited and the visitor argument specified here.
  • visitor_arg – Visitor callback second argument.