Repository: beam Updated Branches: refs/heads/master 32bf7bc64 -> d8d3f3093
Avoid passing extra argument to object() constructor in GcsIO Project: http://git-wip-us.apache.org/repos/asf/beam/repo Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/90a850e9 Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/90a850e9 Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/90a850e9 Branch: refs/heads/master Commit: 90a850e96af0ac7670880af6cd6f182a06bb98df Parents: 32bf7bc Author: Charles Chen <c...@google.com> Authored: Mon Aug 21 15:42:59 2017 -0700 Committer: Ahmet Altay <al...@google.com> Committed: Mon Aug 21 18:34:22 2017 -0700 ---------------------------------------------------------------------- sdks/python/apache_beam/io/gcp/gcsio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/beam/blob/90a850e9/sdks/python/apache_beam/io/gcp/gcsio.py ---------------------------------------------------------------------- diff --git a/sdks/python/apache_beam/io/gcp/gcsio.py b/sdks/python/apache_beam/io/gcp/gcsio.py index ae71a5f..b18a287 100644 --- a/sdks/python/apache_beam/io/gcp/gcsio.py +++ b/sdks/python/apache_beam/io/gcp/gcsio.py @@ -105,7 +105,7 @@ class GcsIO(object): def __new__(cls, storage_client=None): if storage_client: # This path is only used for testing. - return super(GcsIO, cls).__new__(cls, storage_client) + return super(GcsIO, cls).__new__(cls) else: # Create a single storage client for each thread. We would like to avoid # creating more than one storage client for each thread, since each