google-cloud-ndb 2.3.2__tar.gz → 2.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {google_cloud_ndb-2.3.2/google_cloud_ndb.egg-info → google_cloud_ndb-2.3.4}/PKG-INFO +21 -7
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/model.py +20 -8
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/version.py +1 -1
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4/google_cloud_ndb.egg-info}/PKG-INFO +21 -7
- google_cloud_ndb-2.3.4/google_cloud_ndb.egg-info/requires.txt +6 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/setup.py +6 -5
- google_cloud_ndb-2.3.2/google_cloud_ndb.egg-info/requires.txt +0 -6
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/AUTHORS +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/LICENSE +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/README.md +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/__init__.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/_batch.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/_cache.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/_datastore_api.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/_datastore_query.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/_datastore_types.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/_eventloop.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/_gql.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/_legacy_entity_pb.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/_legacy_protocol_buffer.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/_options.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/_remote.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/_retry.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/_transaction.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/blobstore.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/client.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/context.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/django_middleware.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/exceptions.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/global_cache.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/key.py +1 -1
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/metadata.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/msgprop.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/polymodel.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/query.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/stats.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/tasklets.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/utils.py +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google_cloud_ndb.egg-info/SOURCES.txt +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google_cloud_ndb.egg-info/dependency_links.txt +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google_cloud_ndb.egg-info/not-zip-safe +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google_cloud_ndb.egg-info/top_level.txt +0 -0
- {google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: google-cloud-ndb
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.4
|
|
4
4
|
Summary: NDB library for Google Cloud Datastore
|
|
5
5
|
Home-page: https://github.com/googleapis/python-ndb
|
|
6
6
|
Author: Google LLC
|
|
@@ -20,18 +20,32 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
24
|
Classifier: Operating System :: OS Independent
|
|
24
25
|
Classifier: Topic :: Internet
|
|
25
26
|
Requires-Python: >=3.7
|
|
26
27
|
Description-Content-Type: text/markdown
|
|
27
28
|
License-File: LICENSE
|
|
28
29
|
License-File: AUTHORS
|
|
29
|
-
Requires-Dist: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.
|
|
30
|
-
Requires-Dist: google-cloud-datastore
|
|
31
|
-
Requires-Dist: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<
|
|
32
|
-
Requires-Dist: pymemcache<5.0.
|
|
30
|
+
Requires-Dist: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0,>=1.34.0
|
|
31
|
+
Requires-Dist: google-cloud-datastore!=2.20.2,<3.0.0,>=2.16.0
|
|
32
|
+
Requires-Dist: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<7.0.0,>=3.20.2
|
|
33
|
+
Requires-Dist: pymemcache<5.0.0,>=2.1.0
|
|
33
34
|
Requires-Dist: pytz>=2018.3
|
|
34
|
-
Requires-Dist: redis<
|
|
35
|
+
Requires-Dist: redis<7.0.0,>=3.0.0
|
|
36
|
+
Dynamic: author
|
|
37
|
+
Dynamic: author-email
|
|
38
|
+
Dynamic: classifier
|
|
39
|
+
Dynamic: description
|
|
40
|
+
Dynamic: description-content-type
|
|
41
|
+
Dynamic: home-page
|
|
42
|
+
Dynamic: license
|
|
43
|
+
Dynamic: license-file
|
|
44
|
+
Dynamic: platform
|
|
45
|
+
Dynamic: project-url
|
|
46
|
+
Dynamic: requires-dist
|
|
47
|
+
Dynamic: requires-python
|
|
48
|
+
Dynamic: summary
|
|
35
49
|
|
|
36
50
|
# Google Cloud Datastore `ndb` Client Library
|
|
37
51
|
|
|
@@ -2698,14 +2698,26 @@ class BlobProperty(Property):
|
|
|
2698
2698
|
Need to check the ds_entity for a compressed meaning that would
|
|
2699
2699
|
indicate we are getting a compressed value.
|
|
2700
2700
|
"""
|
|
2701
|
-
if self._name in ds_entity._meanings:
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2701
|
+
if self._name in ds_entity._meanings and not self._compressed:
|
|
2702
|
+
root_meaning = ds_entity._meanings[self._name][0]
|
|
2703
|
+
sub_meanings = None
|
|
2704
|
+
# meaning may be a tuple. Attempt unwrap
|
|
2705
|
+
if isinstance(root_meaning, tuple):
|
|
2706
|
+
root_meaning, sub_meanings = root_meaning
|
|
2707
|
+
# decompress values if needed
|
|
2708
|
+
if root_meaning == _MEANING_COMPRESSED and not self._repeated:
|
|
2709
|
+
value.b_val = zlib.decompress(value.b_val)
|
|
2710
|
+
elif root_meaning == _MEANING_COMPRESSED and self._repeated:
|
|
2711
|
+
for sub_value in value:
|
|
2712
|
+
sub_value.b_val = zlib.decompress(sub_value.b_val)
|
|
2713
|
+
elif isinstance(sub_meanings, list) and self._repeated:
|
|
2714
|
+
for idx, sub_value in enumerate(value):
|
|
2715
|
+
try:
|
|
2716
|
+
if sub_meanings[idx] == _MEANING_COMPRESSED:
|
|
2717
|
+
sub_value.b_val = zlib.decompress(sub_value.b_val)
|
|
2718
|
+
except IndexError:
|
|
2719
|
+
# value list size exceeds sub_meanings list
|
|
2720
|
+
break
|
|
2709
2721
|
return value
|
|
2710
2722
|
|
|
2711
2723
|
def _db_set_compressed_meaning(self, p):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: google-cloud-ndb
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.4
|
|
4
4
|
Summary: NDB library for Google Cloud Datastore
|
|
5
5
|
Home-page: https://github.com/googleapis/python-ndb
|
|
6
6
|
Author: Google LLC
|
|
@@ -20,18 +20,32 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
24
|
Classifier: Operating System :: OS Independent
|
|
24
25
|
Classifier: Topic :: Internet
|
|
25
26
|
Requires-Python: >=3.7
|
|
26
27
|
Description-Content-Type: text/markdown
|
|
27
28
|
License-File: LICENSE
|
|
28
29
|
License-File: AUTHORS
|
|
29
|
-
Requires-Dist: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.
|
|
30
|
-
Requires-Dist: google-cloud-datastore
|
|
31
|
-
Requires-Dist: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<
|
|
32
|
-
Requires-Dist: pymemcache<5.0.
|
|
30
|
+
Requires-Dist: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0,>=1.34.0
|
|
31
|
+
Requires-Dist: google-cloud-datastore!=2.20.2,<3.0.0,>=2.16.0
|
|
32
|
+
Requires-Dist: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<7.0.0,>=3.20.2
|
|
33
|
+
Requires-Dist: pymemcache<5.0.0,>=2.1.0
|
|
33
34
|
Requires-Dist: pytz>=2018.3
|
|
34
|
-
Requires-Dist: redis<
|
|
35
|
+
Requires-Dist: redis<7.0.0,>=3.0.0
|
|
36
|
+
Dynamic: author
|
|
37
|
+
Dynamic: author-email
|
|
38
|
+
Dynamic: classifier
|
|
39
|
+
Dynamic: description
|
|
40
|
+
Dynamic: description-content-type
|
|
41
|
+
Dynamic: home-page
|
|
42
|
+
Dynamic: license
|
|
43
|
+
Dynamic: license-file
|
|
44
|
+
Dynamic: platform
|
|
45
|
+
Dynamic: project-url
|
|
46
|
+
Dynamic: requires-dist
|
|
47
|
+
Dynamic: requires-python
|
|
48
|
+
Dynamic: summary
|
|
35
49
|
|
|
36
50
|
# Google Cloud Datastore `ndb` Client Library
|
|
37
51
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0,>=1.34.0
|
|
2
|
+
google-cloud-datastore!=2.20.2,<3.0.0,>=2.16.0
|
|
3
|
+
protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<7.0.0,>=3.20.2
|
|
4
|
+
pymemcache<5.0.0,>=2.1.0
|
|
5
|
+
pytz>=2018.3
|
|
6
|
+
redis<7.0.0,>=3.0.0
|
|
@@ -40,12 +40,12 @@ def main():
|
|
|
40
40
|
with io.open(readme_filename, encoding="utf-8") as readme_file:
|
|
41
41
|
readme = readme_file.read()
|
|
42
42
|
dependencies = [
|
|
43
|
-
"google-api-core[grpc] >= 1.34.0, <3.0.
|
|
44
|
-
"google-cloud-datastore >= 2.16.0, < 3.0.
|
|
45
|
-
"protobuf >= 3.20.2, <
|
|
46
|
-
"pymemcache >= 2.1.0, < 5.0.
|
|
43
|
+
"google-api-core[grpc] >= 1.34.0, < 3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*",
|
|
44
|
+
"google-cloud-datastore >= 2.16.0, != 2.20.2, < 3.0.0",
|
|
45
|
+
"protobuf >= 3.20.2, < 7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
|
|
46
|
+
"pymemcache >= 2.1.0, < 5.0.0",
|
|
47
47
|
"pytz >= 2018.3",
|
|
48
|
-
"redis >= 3.0.0, <
|
|
48
|
+
"redis >= 3.0.0, < 7.0.0",
|
|
49
49
|
]
|
|
50
50
|
|
|
51
51
|
setuptools.setup(
|
|
@@ -74,6 +74,7 @@ def main():
|
|
|
74
74
|
"Programming Language :: Python :: 3.10",
|
|
75
75
|
"Programming Language :: Python :: 3.11",
|
|
76
76
|
"Programming Language :: Python :: 3.12",
|
|
77
|
+
"Programming Language :: Python :: 3.13",
|
|
77
78
|
"Operating System :: OS Independent",
|
|
78
79
|
"Topic :: Internet",
|
|
79
80
|
],
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0
|
|
2
|
-
google-cloud-datastore<3.0.0dev,>=2.16.0
|
|
3
|
-
protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<6.0.0dev,>=3.20.2
|
|
4
|
-
pymemcache<5.0.0dev,>=2.1.0
|
|
5
|
-
pytz>=2018.3
|
|
6
|
-
redis<6.0.0dev,>=3.0.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google/cloud/ndb/_legacy_protocol_buffer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -716,13 +716,13 @@ class Key(object):
|
|
|
716
716
|
>>> key = ndb.Key("Trampoline", 88, project="xy", database="wv", namespace="zt")
|
|
717
717
|
>>> key.reference()
|
|
718
718
|
app: "xy"
|
|
719
|
-
name_space: "zt"
|
|
720
719
|
path {
|
|
721
720
|
element {
|
|
722
721
|
type: "Trampoline"
|
|
723
722
|
id: 88
|
|
724
723
|
}
|
|
725
724
|
}
|
|
725
|
+
name_space: "zt"
|
|
726
726
|
database_id: "wv"
|
|
727
727
|
<BLANKLINE>
|
|
728
728
|
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_ndb-2.3.2 → google_cloud_ndb-2.3.4}/google_cloud_ndb.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|