apache_beam.typehints.typed_pipeline_test_py3 module
Unit tests for type-hint objects and decorators - Python 3 syntax specific.
-
class
apache_beam.typehints.typed_pipeline_test_py3.
MainInputTest
(methodName='runTest')[source]
Bases: unittest.case.TestCase
Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.
-
test_typed_dofn_method
()[source]
-
test_typed_dofn_method_with_class_decorators
()[source]
-
test_typed_dofn_instance
()[source]
-
test_typed_callable_instance
()[source]
-
test_typed_callable_iterable_output
()[source]
-
test_typed_dofn_method_not_iterable
()[source]
-
test_typed_dofn_method_return_none
()[source]
-
test_typed_dofn_method_return_optional
()[source]
-
test_typed_dofn_method_return_optional_not_iterable
()[source]
-
test_typed_callable_not_iterable
()[source]
-
test_typed_dofn_kwonly
()[source]
-
test_typed_dofn_var_kwargs
()[source]
-
test_typed_callable_string_literals
()[source]
-
test_typed_dofn_string_literals
()[source]
-
test_typed_map
()[source]
-
test_typed_map_return_optional
()[source]
-
test_typed_flatmap
()[source]
-
test_typed_flatmap_output_hint_not_iterable
()[source]
-
test_typed_flatmap_output_value_not_iterable
()[source]
-
test_typed_flatmap_optional
()[source]
-
class
apache_beam.typehints.typed_pipeline_test_py3.
AnnotationsTest
(methodName='runTest')[source]
Bases: unittest.case.TestCase
Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.
-
test_pardo_dofn
()[source]
-
test_pardo_dofn_not_iterable
()[source]
-
test_pardo_wrapper
()[source]
-
test_pardo_wrapper_tuple
()[source]
-
test_pardo_wrapper_not_iterable
()[source]
-
test_flat_map_wrapper
()[source]
-
test_flat_map_wrapper_optional_output
()[source]
-
test_flat_map_tuple_wrapper
()[source]
-
test_map_wrapper
()[source]
-
test_map_wrapper_optional_output
()[source]
-
test_map_tuple
()[source]
-
test_filter_wrapper
()[source]