Repository: incubator-beam
Updated Branches:
  refs/heads/python-sdk 3464a909b -> cb1842c5b


Remove the whitelisting required warning


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/8e767827
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/8e767827
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/8e767827

Branch: refs/heads/python-sdk
Commit: 8e767827b1477251f19bd5503d2ae2489416d224
Parents: 3464a90
Author: Ahmet Altay <[email protected]>
Authored: Tue Jun 28 09:52:31 2016 -0700
Committer: Ahmet Altay <[email protected]>
Committed: Tue Jun 28 09:52:31 2016 -0700

----------------------------------------------------------------------
 sdks/python/apache_beam/internal/apiclient.py | 27 ----------------------
 1 file changed, 27 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/8e767827/sdks/python/apache_beam/internal/apiclient.py
----------------------------------------------------------------------
diff --git a/sdks/python/apache_beam/internal/apiclient.py 
b/sdks/python/apache_beam/internal/apiclient.py
index cee501d..a363511 100644
--- a/sdks/python/apache_beam/internal/apiclient.py
+++ b/sdks/python/apache_beam/internal/apiclient.py
@@ -463,33 +463,6 @@ class DataflowApplicationClient(object):
         'https://console.developers.google.com/project/%s/dataflow/job/%s',
         self.google_cloud_options.project, response.id)
 
-    # Show the whitelisting warning. Projects should be whitelisted prior to
-    # submitting jobs to Google Cloud Dataflow service. Please see 
documentation
-    # for more information.
-    #
-    # TODO(altay): Remove once the whitelisting requirements are lifted.
-    logging.warning(
-        '\n\n***************************************************************\n'
-        '*      WARNING: PROJECT WHITELISTING REQUIRED.                *'
-        '\n***************************************************************\n'
-        'Please make sure your project is whitelisted for running\n'
-        'Python-based pipelines using the Google Cloud Dataflow service.\n\n'
-        'You may ignore this message if you have successfully ran\n'
-        'Python-based pipelines with this project on Google Cloud\n'
-        'Dataflow service before.\n\n'
-        'If your project is not whitelisted, your job will attempt to run\n'
-        'however it will fail to make any progress. Google Cloud Dataflow\n'
-        'service will automatically cancel your non-whitelisted job\n'
-        'after some time due to inactivity. You can also manually cancel\n'
-        'your job using the following command:\n\n'
-        'gcloud alpha dataflow jobs --project=%s cancel %s\n\n'
-        'Please refer to the documentation to learn more about whitelisting\n'
-        'your project at: %s'
-        
'\n***************************************************************\n\n',
-        request.projectId, response.id,
-        'http://goo.gl/forms/o4w14whz9x'
-    )
-
     return response
 
   @retry.with_exponential_backoff()  # Using retry defaults from utils/retry.py

Reply via email to