File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 21
21
Transactions are unsupported.
22
22
"""
23
23
24
- import datetime
25
24
import logging
26
- import os
27
- import struct
28
25
import sys
29
- import tempfile
30
26
import threading
31
- import warnings
32
27
import types
33
28
import re
34
29
import random
35
30
36
- from google .appengine .api import api_base_pb
37
31
from google .appengine .api import apiproxy_stub
38
32
from google .appengine .api import datastore
39
- from google .appengine .api import datastore_admin
40
- from google .appengine .api import datastore_errors
41
33
from google .appengine .api import datastore_types
42
34
from google .appengine .api import users
43
35
from google .appengine .datastore import datastore_pb
44
36
from google .appengine .datastore import datastore_index
45
37
from google .appengine .runtime import apiproxy_errors
46
- from google .net .proto import ProtocolBuffer
47
38
from google .appengine .datastore import entity_pb
48
39
49
40
import pymongo
50
41
from pymongo .connection import Connection
51
42
from pymongo .binary import Binary
52
43
53
- warnings .filterwarnings ('ignore' , 'tempnam is a potential security risk' )
54
-
55
-
56
- entity_pb .Reference .__hash__ = lambda self : hash (self .Encode ())
57
44
datastore_pb .Query .__hash__ = lambda self : hash (self .Encode ())
58
45
59
46
_MAXIMUM_RESULTS = 1000
You can’t perform that action at this time.
0 commit comments