apache_beam.typehints.typecheck module¶
Runtime type checking support.
For internal use only; no backwards-compatibility guarantees.
-
class
apache_beam.typehints.typecheck.AbstractDoFnWrapper(dofn)[source]¶ Bases:
apache_beam.transforms.core.DoFnAn abstract class to create wrapper around DoFn
-
class
apache_beam.typehints.typecheck.OutputCheckWrapperDoFn(dofn, full_label)[source]¶ Bases:
apache_beam.typehints.typecheck.AbstractDoFnWrapperA DoFn that verifies against common errors in the output type.
-
class
apache_beam.typehints.typecheck.TypeCheckWrapperDoFn(dofn, type_hints, label=None)[source]¶ Bases:
apache_beam.typehints.typecheck.AbstractDoFnWrapperA wrapper around a DoFn which performs type-checking of input and output.