Details
-
Bug
-
Status: Open
-
P3
-
Resolution: Unresolved
-
None
-
None
-
None
Description
def test_typed_maptuple(self): def fn(e1: int, e2: int) -> int: return e1 * e2 result = [(1, 1), (2, 2)] | beam.MapTuple(fn) self.assertEqual([2, 4], sorted(result))
Fails in getcallargs_forhints_impl_py3 with:
> raise TypeCheckError(e) E apache_beam.typehints.decorators.TypeCheckError: too many positional arguments