apache_beam.typehints.typehints_test_py3 module

Unit tests for the type-hint objects and decorators with Python 3 syntax not supported by 2.7.

class apache_beam.typehints.typehints_test_py3.TestParDoAnnotations(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_with_side_input()[source]
test_pep484_annotations()[source]
class apache_beam.typehints.typehints_test_py3.TestPTransformAnnotations(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_pep484_annotations()[source]
test_annotations_without_input_pcollection_wrapper()[source]
test_annotations_without_output_pcollection_wrapper()[source]
test_annotations_without_input_internal_type()[source]
test_annotations_without_output_internal_type()[source]
test_annotations_without_any_internal_type()[source]
test_annotations_without_input_typehint()[source]
test_annotations_without_output_typehint()[source]
test_annotations_without_any_typehints()[source]
test_annotations_with_pbegin()[source]
test_annotations_with_pdone()[source]
test_annotations_with_none_input()[source]
test_annotations_with_none_output()[source]
test_annotations_with_arbitrary_output()[source]
test_annotations_with_arbitrary_input_and_output()[source]
test_typing_module_annotations_are_converted_to_beam_annotations()[source]
test_nested_typing_annotations_are_converted_to_beam_annotations()[source]
test_mixed_annotations_are_converted_to_beam_annotations()[source]