Mark internal modules in python datastoreio
Project: http://git-wip-us.apache.org/repos/asf/beam/repo Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/0a0cc2d6 Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/0a0cc2d6 Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/0a0cc2d6 Branch: refs/heads/release-2.0.0 Commit: 0a0cc2d6bd5c3c0e6ab9d1388d5d3c8dc5ca7760 Parents: 5b09511 Author: Vikas Kedigehalli <[email protected]> Authored: Thu May 11 11:33:24 2017 -0700 Committer: Ahmet Altay <[email protected]> Committed: Thu May 11 16:20:36 2017 -0700 ---------------------------------------------------------------------- sdks/python/apache_beam/io/gcp/datastore/v1/fake_datastore.py | 7 +++++-- sdks/python/apache_beam/io/gcp/datastore/v1/helper.py | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/beam/blob/0a0cc2d6/sdks/python/apache_beam/io/gcp/datastore/v1/fake_datastore.py ---------------------------------------------------------------------- diff --git a/sdks/python/apache_beam/io/gcp/datastore/v1/fake_datastore.py b/sdks/python/apache_beam/io/gcp/datastore/v1/fake_datastore.py index bc4d07f..0caf6d6 100644 --- a/sdks/python/apache_beam/io/gcp/datastore/v1/fake_datastore.py +++ b/sdks/python/apache_beam/io/gcp/datastore/v1/fake_datastore.py @@ -15,7 +15,11 @@ # limitations under the License. # -"""Fake datastore used for unit testing.""" +"""Fake datastore used for unit testing. + +For internal use only; no backwards-compatibility guarantees. +""" + import uuid # Protect against environments where datastore library is not available. @@ -27,7 +31,6 @@ except ImportError: pass # pylint: enable=wrong-import-order, wrong-import-position - def create_run_query(entities, batch_size): """A fake datastore run_query method that returns entities in batches. http://git-wip-us.apache.org/repos/asf/beam/blob/0a0cc2d6/sdks/python/apache_beam/io/gcp/datastore/v1/helper.py ---------------------------------------------------------------------- diff --git a/sdks/python/apache_beam/io/gcp/datastore/v1/helper.py b/sdks/python/apache_beam/io/gcp/datastore/v1/helper.py index a61884f..9e2c053 100644 --- a/sdks/python/apache_beam/io/gcp/datastore/v1/helper.py +++ b/sdks/python/apache_beam/io/gcp/datastore/v1/helper.py @@ -15,7 +15,10 @@ # limitations under the License. # -"""Cloud Datastore helper functions.""" +"""Cloud Datastore helper functions. + +For internal use only; no backwards-compatibility guarantees. +""" import sys # Protect against environments where datastore library is not available.
