Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 21b77ef

Browse files
styeewsh
authored andcommitted
Delete Prospective Search from App Engine. The PSI backends have already been turned down (b/26638388), and they have been detached from the AppServer. PSI was turned down publicly in Dec 2015 for App Engine.
Tested: TAP train for global presubmit queue http://test/OCL:126756897:BASE:126907869:1468016015932:58f13fe7 Some tests failed; test failures are believed to be unrelated to this CL ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127158613
1 parent 04863cf commit 21b77ef

File tree

4 files changed

+0
-344
lines changed

4 files changed

+0
-344
lines changed

ndb/google_imports.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,9 @@ def set_appengine_imports():
7272
from google.appengine.api import datastore_types
7373
from google.appengine.api import memcache
7474
from google.appengine.api import namespace_manager
75-
from google.appengine.api import prospective_search
7675
from google.appengine.api import taskqueue
7776
from google.appengine.api import urlfetch
7877
from google.appengine.api import users
79-
from google.appengine.api.prospective_search import prospective_search_pb
8078
from google.appengine.datastore import datastore_pbs
8179
from google.appengine.datastore import datastore_query
8280
from google.appengine.datastore import datastore_rpc
@@ -123,9 +121,3 @@ def set_appengine_imports():
123121
from google3.apphosting.ext.vmruntime import callback
124122
from google3.apphosting.runtime import apiproxy_errors
125123
from google3.net.proto import ProtocolBuffer
126-
# Prospective search is optional.
127-
try:
128-
from google3.apphosting.api import prospective_search
129-
from google3.apphosting.api.prospective_search import prospective_search_pb
130-
except ImportError:
131-
pass

ndb/google_test_imports.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,11 @@
2121
from . import google_imports
2222

2323
if google_imports.normal_environment:
24-
from google.appengine.api.prospective_search import prospective_search_stub
2524
from google.appengine.datastore import cloud_datastore_v1_remote_stub
2625
from google.appengine.datastore import datastore_stub_util
2726
from google.appengine.ext import testbed
2827
import unittest
2928
else:
30-
# Prospective search is optional.
31-
try:
32-
from google3.apphosting.api.prospective_search import prospective_search_stub
33-
except ImportError:
34-
pass
3529
from google3.apphosting.datastore import cloud_datastore_v1_remote_stub
3630
from google3.apphosting.datastore import datastore_stub_util
3731
from google3.apphosting.ext import testbed

ndb/prospective_search.py

Lines changed: 0 additions & 209 deletions
This file was deleted.

ndb/prospective_search_test.py

Lines changed: 0 additions & 121 deletions
This file was deleted.

0 commit comments

Comments
 (0)