beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From al...@apache.org
Subject [beam] branch master updated: [BEAM-7372] restore docstring removed accidentally
Date Mon, 12 Jul 2021 16:32:14 GMT
This is an automated email from the ASF dual-hosted git repository.

altay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 4fd185d  [BEAM-7372] restore docstring removed accidentally
     new fc619bd  Merge pull request #15158 from lazylynx/fix/unintended_docstring_removal
4fd185d is described below

commit 4fd185dda97627549b6619b4496c0c3bfa19eb7e
Author: yoshiki.obata <yoshiki.obata@gmail.com>
AuthorDate: Sat Jul 10 22:09:55 2021 +0900

    [BEAM-7372] restore docstring removed accidentally
---
 sdks/python/apache_beam/transforms/core.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sdks/python/apache_beam/transforms/core.py b/sdks/python/apache_beam/transforms/core.py
index 158882b..74c5b74 100644
--- a/sdks/python/apache_beam/transforms/core.py
+++ b/sdks/python/apache_beam/transforms/core.py
@@ -1605,6 +1605,10 @@ def MapTuple(fn, *args, **kwargs):  # pylint: disable=invalid-name
 
       beam.MapTuple(fn)
 
+  is equivalent to
+
+      beam.Map(lambda element, ...: fn(\*element, ...))
+
   This can be useful when processing a PCollection of tuples
   (e.g. key-value pairs).
 

Mime
View raw message