google-cloud-ndb 2.3.3__tar.gz → 2.4.0__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.3/google_cloud_ndb.egg-info → google_cloud_ndb-2.4.0}/PKG-INFO +22 -7
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/_datastore_api.py +0 -1
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/_datastore_query.py +0 -1
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/_gql.py +1 -10
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/_legacy_entity_pb.py +0 -2
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/_legacy_protocol_buffer.py +0 -1
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/version.py +1 -1
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0/google_cloud_ndb.egg-info}/PKG-INFO +22 -7
- google_cloud_ndb-2.4.0/google_cloud_ndb.egg-info/requires.txt +6 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/setup.py +7 -5
- google_cloud_ndb-2.3.3/google_cloud_ndb.egg-info/requires.txt +0 -6
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/AUTHORS +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/LICENSE +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/README.md +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/__init__.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/_batch.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/_cache.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/_datastore_types.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/_eventloop.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/_options.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/_remote.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/_retry.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/_transaction.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/blobstore.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/client.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/context.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/django_middleware.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/exceptions.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/global_cache.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/key.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/metadata.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/model.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/msgprop.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/polymodel.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/query.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/stats.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/tasklets.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google/cloud/ndb/utils.py +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google_cloud_ndb.egg-info/SOURCES.txt +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google_cloud_ndb.egg-info/dependency_links.txt +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google_cloud_ndb.egg-info/not-zip-safe +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google_cloud_ndb.egg-info/top_level.txt +0 -0
- {google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/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
|
+
Version: 2.4.0
|
|
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,33 @@ 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
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
23
25
|
Classifier: Operating System :: OS Independent
|
|
24
26
|
Classifier: Topic :: Internet
|
|
25
27
|
Requires-Python: >=3.7
|
|
26
28
|
Description-Content-Type: text/markdown
|
|
27
29
|
License-File: LICENSE
|
|
28
30
|
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!=2.20.2,<3.0.
|
|
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.
|
|
31
|
+
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
|
|
32
|
+
Requires-Dist: google-cloud-datastore!=2.20.2,<3.0.0,>=2.16.0
|
|
33
|
+
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
|
|
34
|
+
Requires-Dist: pymemcache<5.0.0,>=2.1.0
|
|
33
35
|
Requires-Dist: pytz>=2018.3
|
|
34
|
-
Requires-Dist: redis<
|
|
36
|
+
Requires-Dist: redis<7.0.0,>=3.0.0
|
|
37
|
+
Dynamic: author
|
|
38
|
+
Dynamic: author-email
|
|
39
|
+
Dynamic: classifier
|
|
40
|
+
Dynamic: description
|
|
41
|
+
Dynamic: description-content-type
|
|
42
|
+
Dynamic: home-page
|
|
43
|
+
Dynamic: license
|
|
44
|
+
Dynamic: license-file
|
|
45
|
+
Dynamic: platform
|
|
46
|
+
Dynamic: project-url
|
|
47
|
+
Dynamic: requires-dist
|
|
48
|
+
Dynamic: requires-python
|
|
49
|
+
Dynamic: summary
|
|
35
50
|
|
|
36
51
|
# Google Cloud Datastore `ndb` Client Library
|
|
37
52
|
|
|
@@ -115,7 +115,6 @@ class GQL(object):
|
|
|
115
115
|
raise error
|
|
116
116
|
|
|
117
117
|
def _InitializeParseState(self):
|
|
118
|
-
|
|
119
118
|
self._kind = None
|
|
120
119
|
self._keys_only = False
|
|
121
120
|
self._projection = None
|
|
@@ -330,9 +329,7 @@ class GQL(object):
|
|
|
330
329
|
self._CheckFilterSyntax(identifier, condition)
|
|
331
330
|
|
|
332
331
|
if not self._AddSimpleFilter(identifier, condition, self._Reference()):
|
|
333
|
-
|
|
334
332
|
if not self._AddSimpleFilter(identifier, condition, self._Literal()):
|
|
335
|
-
|
|
336
333
|
type_cast = self._TypeCast()
|
|
337
334
|
if not type_cast or not self._AddProcessedParameterFilter(
|
|
338
335
|
identifier, condition, *type_cast
|
|
@@ -378,7 +375,6 @@ class GQL(object):
|
|
|
378
375
|
condition = raw_condition.lower()
|
|
379
376
|
if identifier.lower() == "ancestor":
|
|
380
377
|
if condition == "is":
|
|
381
|
-
|
|
382
378
|
if self._has_ancestor:
|
|
383
379
|
self._Error('Only one ANCESTOR IS" clause allowed')
|
|
384
380
|
else:
|
|
@@ -508,13 +504,11 @@ class GQL(object):
|
|
|
508
504
|
self._next_symbol += 1
|
|
509
505
|
|
|
510
506
|
if literal is None:
|
|
511
|
-
|
|
512
507
|
literal = self._AcceptRegex(self._quoted_string_regex)
|
|
513
508
|
if literal:
|
|
514
509
|
literal = literal[1:-1].replace("''", "'")
|
|
515
510
|
|
|
516
511
|
if literal is None:
|
|
517
|
-
|
|
518
512
|
if self._Accept("TRUE"):
|
|
519
513
|
literal = True
|
|
520
514
|
elif self._Accept("FALSE"):
|
|
@@ -548,7 +542,6 @@ class GQL(object):
|
|
|
548
542
|
cast_op = self._AcceptRegex(self._cast_regex)
|
|
549
543
|
if not cast_op:
|
|
550
544
|
if can_cast_list and self._Accept("("):
|
|
551
|
-
|
|
552
545
|
cast_op = "list"
|
|
553
546
|
else:
|
|
554
547
|
return None
|
|
@@ -588,11 +581,9 @@ class GQL(object):
|
|
|
588
581
|
def _Limit(self):
|
|
589
582
|
"""Consume the LIMIT clause."""
|
|
590
583
|
if self._Accept("LIMIT"):
|
|
591
|
-
|
|
592
584
|
maybe_limit = self._AcceptRegex(self._number_regex)
|
|
593
585
|
|
|
594
586
|
if maybe_limit:
|
|
595
|
-
|
|
596
587
|
if self._Accept(","):
|
|
597
588
|
self._offset = int(maybe_limit)
|
|
598
589
|
maybe_limit = self._AcceptRegex(self._number_regex)
|
|
@@ -674,7 +665,7 @@ class GQL(object):
|
|
|
674
665
|
name, op = name_op
|
|
675
666
|
values = gql_filters[name_op]
|
|
676
667
|
op = op.lower()
|
|
677
|
-
for
|
|
668
|
+
for func, args in values:
|
|
678
669
|
prop = model_class._properties.get(name)
|
|
679
670
|
val = self._args_to_val(func, args)
|
|
680
671
|
if isinstance(val, query_module.ParameterizedThing):
|
|
@@ -343,7 +343,6 @@ class PropertyValue(ProtocolBuffer.ProtocolMessage):
|
|
|
343
343
|
|
|
344
344
|
|
|
345
345
|
class Property(ProtocolBuffer.ProtocolMessage):
|
|
346
|
-
|
|
347
346
|
NO_MEANING = 0
|
|
348
347
|
BLOB = 14
|
|
349
348
|
TEXT = 15
|
|
@@ -691,7 +690,6 @@ class Reference(ProtocolBuffer.ProtocolMessage):
|
|
|
691
690
|
|
|
692
691
|
|
|
693
692
|
class EntityProto(ProtocolBuffer.ProtocolMessage):
|
|
694
|
-
|
|
695
693
|
has_key_ = 0
|
|
696
694
|
has_owner_ = 0
|
|
697
695
|
owner_ = None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: google-cloud-ndb
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.4.0
|
|
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,33 @@ 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
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
23
25
|
Classifier: Operating System :: OS Independent
|
|
24
26
|
Classifier: Topic :: Internet
|
|
25
27
|
Requires-Python: >=3.7
|
|
26
28
|
Description-Content-Type: text/markdown
|
|
27
29
|
License-File: LICENSE
|
|
28
30
|
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!=2.20.2,<3.0.
|
|
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.
|
|
31
|
+
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
|
|
32
|
+
Requires-Dist: google-cloud-datastore!=2.20.2,<3.0.0,>=2.16.0
|
|
33
|
+
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
|
|
34
|
+
Requires-Dist: pymemcache<5.0.0,>=2.1.0
|
|
33
35
|
Requires-Dist: pytz>=2018.3
|
|
34
|
-
Requires-Dist: redis<
|
|
36
|
+
Requires-Dist: redis<7.0.0,>=3.0.0
|
|
37
|
+
Dynamic: author
|
|
38
|
+
Dynamic: author-email
|
|
39
|
+
Dynamic: classifier
|
|
40
|
+
Dynamic: description
|
|
41
|
+
Dynamic: description-content-type
|
|
42
|
+
Dynamic: home-page
|
|
43
|
+
Dynamic: license
|
|
44
|
+
Dynamic: license-file
|
|
45
|
+
Dynamic: platform
|
|
46
|
+
Dynamic: project-url
|
|
47
|
+
Dynamic: requires-dist
|
|
48
|
+
Dynamic: requires-python
|
|
49
|
+
Dynamic: summary
|
|
35
50
|
|
|
36
51
|
# Google Cloud Datastore `ndb` Client Library
|
|
37
52
|
|
|
@@ -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, != 2.20.2, < 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,8 @@ 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",
|
|
78
|
+
"Programming Language :: Python :: 3.14",
|
|
77
79
|
"Operating System :: OS Independent",
|
|
78
80
|
"Topic :: Internet",
|
|
79
81
|
],
|
|
@@ -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!=2.20.2,<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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_ndb-2.3.3 → google_cloud_ndb-2.4.0}/google_cloud_ndb.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|