Repository: incubator-beam Updated Branches: refs/heads/python-sdk 345fc6985 -> 9565b2c27
Adds __all__ tags to source modules. Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/fbda5eef Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/fbda5eef Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/fbda5eef Branch: refs/heads/python-sdk Commit: fbda5eeff89b65d8022fc32babb328386cae0bca Parents: 345fc69 Author: Chamikara Jayalath <chamik...@google.com> Authored: Thu Sep 22 09:08:11 2016 -0700 Committer: Chamikara Jayalath <chamik...@google.com> Committed: Thu Sep 22 09:08:11 2016 -0700 ---------------------------------------------------------------------- sdks/python/apache_beam/io/avroio.py | 2 ++ sdks/python/apache_beam/io/textio.py | 2 ++ 2 files changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/fbda5eef/sdks/python/apache_beam/io/avroio.py ---------------------------------------------------------------------- diff --git a/sdks/python/apache_beam/io/avroio.py b/sdks/python/apache_beam/io/avroio.py index 196e760..3415d22 100644 --- a/sdks/python/apache_beam/io/avroio.py +++ b/sdks/python/apache_beam/io/avroio.py @@ -28,6 +28,8 @@ from apache_beam.io import filebasedsource from apache_beam.io.iobase import Read from apache_beam.transforms import PTransform +__all__ = ['ReadFromAvro'] + class ReadFromAvro(PTransform): """A ``PTransform`` for reading avro files.""" http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/fbda5eef/sdks/python/apache_beam/io/textio.py ---------------------------------------------------------------------- diff --git a/sdks/python/apache_beam/io/textio.py b/sdks/python/apache_beam/io/textio.py index 28fd949..6042576 100644 --- a/sdks/python/apache_beam/io/textio.py +++ b/sdks/python/apache_beam/io/textio.py @@ -26,6 +26,8 @@ from apache_beam.io.iobase import Read from apache_beam.io.iobase import Write from apache_beam.transforms import PTransform +__all__ = ['ReadFromText', 'WriteToText'] + class _TextSource(filebasedsource.FileBasedSource): """A source for reading text files.