You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by dh...@apache.org on 2016/07/12 00:48:42 UTC
[1/2] incubator-beam git commit: Fix warnings that came with newly
released Pylint (1.6.1) version.
Repository: incubator-beam
Updated Branches:
refs/heads/python-sdk b5daba37f -> b6bb97f57
Fix warnings that came with newly released Pylint (1.6.1) version.
Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/d57c23d5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/d57c23d5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/d57c23d5
Branch: refs/heads/python-sdk
Commit: d57c23d50ac0ec4baa4a226319bb1ccdd8ea21e0
Parents: b5daba3
Author: Ahmet Altay <al...@google.com>
Authored: Mon Jul 11 13:49:50 2016 -0700
Committer: Dan Halperin <dh...@google.com>
Committed: Mon Jul 11 17:48:33 2016 -0700
----------------------------------------------------------------------
sdks/python/apache_beam/coders/coder_impl.py | 4 ++--
sdks/python/apache_beam/examples/cookbook/combiners_test.py | 3 ---
sdks/python/apache_beam/typehints/trivial_inference.py | 1 -
sdks/python/apache_beam/utils/retry.py | 4 ----
4 files changed, 2 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/d57c23d5/sdks/python/apache_beam/coders/coder_impl.py
----------------------------------------------------------------------
diff --git a/sdks/python/apache_beam/coders/coder_impl.py b/sdks/python/apache_beam/coders/coder_impl.py
index 8ff73bf..ca64d9c 100644
--- a/sdks/python/apache_beam/coders/coder_impl.py
+++ b/sdks/python/apache_beam/coders/coder_impl.py
@@ -28,7 +28,7 @@ coder_impl.pxd file for type hints.
import collections
-# pylint: disable=wrong-import-order, wrong-import-position
+# pylint: disable=wrong-import-order, wrong-import-position, ungrouped-imports
try:
# Don't depend on the full dataflow sdk to test coders.
from apache_beam.transforms.window import WindowedValue
@@ -42,7 +42,7 @@ try:
except ImportError:
from slow_stream import InputStream as create_InputStream
from slow_stream import OutputStream as create_OutputStream
-# pylint: enable=wrong-import-order, wrong-import-position
+# pylint: enable=wrong-import-order, wrong-import-position, ungrouped-imports
class CoderImpl(object):
http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/d57c23d5/sdks/python/apache_beam/examples/cookbook/combiners_test.py
----------------------------------------------------------------------
diff --git a/sdks/python/apache_beam/examples/cookbook/combiners_test.py b/sdks/python/apache_beam/examples/cookbook/combiners_test.py
index 1b032e4..56f5e78 100644
--- a/sdks/python/apache_beam/examples/cookbook/combiners_test.py
+++ b/sdks/python/apache_beam/examples/cookbook/combiners_test.py
@@ -71,6 +71,3 @@ class CombinersTest(unittest.TestCase):
if __name__ == '__main__':
logging.getLogger().setLevel(logging.INFO)
unittest.main()
-
-
-
http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/d57c23d5/sdks/python/apache_beam/typehints/trivial_inference.py
----------------------------------------------------------------------
diff --git a/sdks/python/apache_beam/typehints/trivial_inference.py b/sdks/python/apache_beam/typehints/trivial_inference.py
index c8b2d72..e1fbc42 100644
--- a/sdks/python/apache_beam/typehints/trivial_inference.py
+++ b/sdks/python/apache_beam/typehints/trivial_inference.py
@@ -415,4 +415,3 @@ def infer_return_type_func(f, input_types, debug=False, depth=0):
if debug:
print f, id(f), input_types, '->', result
return result
-
http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/d57c23d5/sdks/python/apache_beam/utils/retry.py
----------------------------------------------------------------------
diff --git a/sdks/python/apache_beam/utils/retry.py b/sdks/python/apache_beam/utils/retry.py
index b4992d4..67cbeb2 100644
--- a/sdks/python/apache_beam/utils/retry.py
+++ b/sdks/python/apache_beam/utils/retry.py
@@ -191,7 +191,3 @@ def with_exponential_backoff(
return wrapper
return real_decorator
-
-
-
-
[2/2] incubator-beam git commit: Closes #628
Posted by dh...@apache.org.
Closes #628
Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/b6bb97f5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/b6bb97f5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/b6bb97f5
Branch: refs/heads/python-sdk
Commit: b6bb97f57b3fe898f629f6c9a71f6100e5af2c6d
Parents: b5daba3 d57c23d
Author: Dan Halperin <dh...@google.com>
Authored: Mon Jul 11 17:48:34 2016 -0700
Committer: Dan Halperin <dh...@google.com>
Committed: Mon Jul 11 17:48:34 2016 -0700
----------------------------------------------------------------------
sdks/python/apache_beam/coders/coder_impl.py | 4 ++--
sdks/python/apache_beam/examples/cookbook/combiners_test.py | 3 ---
sdks/python/apache_beam/typehints/trivial_inference.py | 1 -
sdks/python/apache_beam/utils/retry.py | 4 ----
4 files changed, 2 insertions(+), 10 deletions(-)
----------------------------------------------------------------------