beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From al...@apache.org
Subject [1/2] beam git commit: Mark internal modules in python datastoreio
Date Thu, 11 May 2017 19:46:07 GMT
Repository: beam
Updated Branches:
  refs/heads/master 6d9e91b29 -> 0b0bb41d9


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/f703dbce
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/f703dbce
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/f703dbce

Branch: refs/heads/master
Commit: f703dbce7365cc411c941da0dfe67c5398c2b5b6
Parents: 6d9e91b
Author: Vikas Kedigehalli <vikasrk@google.com>
Authored: Thu May 11 11:33:24 2017 -0700
Committer: Ahmet Altay <altay@google.com>
Committed: Thu May 11 12:45:55 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/f703dbce/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/f703dbce/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.


Mime
View raw message