GitHub user mariapython opened a pull request:
https://github.com/apache/beam/pull/1726
Update README examples to use the new io APIs
beam.Read(beam.io.TextFileSource(...)) --> beam.io.ReadFromText(...)
beam.Write(beam.io.TextFileSink(...)) --> beam.io.WriteToText(...)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mariapython/incubator-beam update_examples
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/1726.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1726
----
commit eb5e4c1385ed5a1c1334209594a63e3105047509
Author: Maria Garcia Herrero <[email protected]>
Date: 2017-01-02T23:46:03Z
Update README examples to use the new io APIs
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---