You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ud...@apache.org on 2019/09/05 21:13:55 UTC
[beam] branch master updated (f747159 -> 393396b)
This is an automated email from the ASF dual-hosted git repository.
udim pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git.
from f747159 Merge pull request #9486 Fix slice inference to not always assume List.
add 393396b [BEAM-7060] Type hints from Python 3 annotations (#9283)
No new revisions were added by this update.
Summary of changes:
sdks/python/apache_beam/internal/util.py | 11 +-
sdks/python/apache_beam/runners/common.pxd | 2 +
sdks/python/apache_beam/runners/common.py | 69 ++---
sdks/python/apache_beam/transforms/core.py | 132 ++++++----
sdks/python/apache_beam/transforms/ptransform.py | 8 +-
.../apache_beam/transforms/ptransform_test.py | 50 +++-
sdks/python/apache_beam/typehints/decorators.py | 286 ++++++++++++++++++---
.../apache_beam/typehints/decorators_test.py | 128 +++++++++
.../apache_beam/typehints/decorators_test_py3.py | 111 ++++++++
.../typehints/native_type_compatibility_test.py | 3 +
sdks/python/apache_beam/typehints/typecheck.py | 3 -
.../apache_beam/typehints/typed_pipeline_test.py | 56 +++-
.../typehints/typed_pipeline_test_py3.py | 223 ++++++++++++++++
sdks/python/apache_beam/typehints/typehints.py | 27 +-
.../python/apache_beam/typehints/typehints_test.py | 137 ++++++++--
.../typehints_test_py3.py} | 56 ++--
sdks/python/setup.py | 1 +
17 files changed, 1101 insertions(+), 202 deletions(-)
create mode 100644 sdks/python/apache_beam/typehints/decorators_test.py
create mode 100644 sdks/python/apache_beam/typehints/decorators_test_py3.py
create mode 100644 sdks/python/apache_beam/typehints/typed_pipeline_test_py3.py
copy sdks/python/apache_beam/{examples/snippets/transforms/element_wise/values_test.py => typehints/typehints_test_py3.py} (50%)