gremlinpython 3.7.5__tar.gz → 3.7.6__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.
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/MANIFEST.in +1 -1
- gremlinpython-3.7.6/NOTICE +5 -0
- {gremlinpython-3.7.5/gremlinpython.egg-info → gremlinpython-3.7.6}/PKG-INFO +2 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/__init__.py +2 -2
- {gremlinpython-3.7.5/gremlin_python/process → gremlinpython-3.7.6/gremlin_python/driver}/__init__.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/driver/aiohttp/__init__.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/driver/aiohttp/transport.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/driver/client.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/driver/connection.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/driver/driver_remote_connection.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/driver/protocol.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/driver/remote_connection.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/driver/request.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/driver/resultset.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/driver/serializer.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/driver/transport.py +3 -3
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/driver/useragent.py +2 -2
- {gremlinpython-3.7.5/gremlin_python/driver → gremlinpython-3.7.6/gremlin_python/process}/__init__.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/process/anonymous_traversal.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/process/graph_traversal.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/process/strategies.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/process/translator.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/process/traversal.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/statics.py +1 -1
- {gremlinpython-3.7.5/gremlin_python/structure/io → gremlinpython-3.7.6/gremlin_python/structure}/__init__.py +3 -3
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/structure/graph.py +3 -3
- {gremlinpython-3.7.5/gremlin_python/structure → gremlinpython-3.7.6/gremlin_python/structure/io}/__init__.py +3 -3
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/structure/io/graphbinaryV1.py +8 -2
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/structure/io/graphsonV2d0.py +3 -3
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/structure/io/graphsonV3d0.py +13 -4
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/structure/io/util.py +1 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6/gremlinpython.egg-info}/PKG-INFO +2 -1
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlinpython.egg-info/SOURCES.txt +1 -3
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlinpython.egg-info/requires.txt +1 -0
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/pyproject.toml +3 -2
- gremlinpython-3.7.5/NOTICE +0 -5
- gremlinpython-3.7.5/gremlin_python/__version__.py +0 -20
- gremlinpython-3.7.5/tests/test_statics.py +0 -65
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/LICENSE +0 -0
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/README.rst +0 -0
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlinpython.egg-info/dependency_links.txt +0 -0
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlinpython.egg-info/top_level.txt +0 -0
- {gremlinpython-3.7.5 → gremlinpython-3.7.6}/setup.cfg +0 -0
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# "License"); you may not use this file except in compliance
|
|
7
7
|
# with the License. You may obtain a copy of the License at
|
|
8
8
|
#
|
|
9
|
-
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
10
|
#
|
|
11
11
|
# Unless required by applicable law or agreed to in writing,
|
|
12
12
|
# software distributed under the License is distributed on an
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gremlinpython
|
|
3
|
-
Version: 3.7.
|
|
3
|
+
Version: 3.7.6
|
|
4
4
|
Summary: Gremlin-Python for Apache TinkerPop
|
|
5
5
|
Maintainer-email: Apache TinkerPop <dev@tinkerpop.apache.org>
|
|
6
6
|
License: Apache 2
|
|
@@ -25,6 +25,7 @@ Requires-Dist: ujson>=2.0.0; extra == "ujson"
|
|
|
25
25
|
Provides-Extra: test
|
|
26
26
|
Requires-Dist: pytest<7.2.0,>=4.6.4; extra == "test"
|
|
27
27
|
Requires-Dist: radish-bdd==0.18.2; extra == "test"
|
|
28
|
+
Requires-Dist: lxml==5.3.0; extra == "test"
|
|
28
29
|
Requires-Dist: PyHamcrest<3.0.0,>=1.9.0; extra == "test"
|
|
29
30
|
Requires-Dist: PyYAML>=5.3; extra == "test"
|
|
30
31
|
Dynamic: license-file
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -18,4 +18,4 @@
|
|
|
18
18
|
#
|
|
19
19
|
|
|
20
20
|
__author__ = 'Marko A. Rodriguez (http://markorodriguez.com)'
|
|
21
|
-
__version__ = '3.7.
|
|
21
|
+
__version__ = '3.7.6'
|
{gremlinpython-3.7.5/gremlin_python/process → gremlinpython-3.7.6/gremlin_python/driver}/__init__.py
RENAMED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# "License"); you may not use this file except in compliance
|
|
7
7
|
# with the License. You may obtain a copy of the License at
|
|
8
8
|
#
|
|
9
|
-
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
10
|
#
|
|
11
11
|
# Unless required by applicable law or agreed to in writing,
|
|
12
12
|
# software distributed under the License is distributed on an
|
{gremlinpython-3.7.5 → gremlinpython-3.7.6}/gremlin_python/driver/driver_remote_connection.py
RENAMED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
# to you under the Apache License, Version 2.0 (the
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
#
|
|
11
|
-
#
|
|
9
|
+
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
14
14
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
#
|
|
19
19
|
import platform
|
|
20
20
|
|
|
21
|
-
gremlin_version = "3.7.
|
|
21
|
+
gremlin_version = "3.7.6" # DO NOT MODIFY - Configured automatically by Maven Replacer Plugin
|
|
22
22
|
|
|
23
23
|
def _generate_user_agent():
|
|
24
24
|
application_name = "NotAvailable"
|
{gremlinpython-3.7.5/gremlin_python/driver → gremlinpython-3.7.6/gremlin_python/process}/__init__.py
RENAMED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
# to you under the Apache License, Version 2.0 (the
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
#
|
|
11
|
-
#
|
|
9
|
+
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
14
14
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
# to you under the Apache License, Version 2.0 (the
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
#
|
|
11
|
-
#
|
|
9
|
+
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
14
14
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
# to you under the Apache License, Version 2.0 (the
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
#
|
|
11
|
-
#
|
|
9
|
+
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
14
14
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
@@ -7,7 +7,7 @@ to you under the Apache License, Version 2.0 (the
|
|
|
7
7
|
"License"); you may not use this file except in compliance
|
|
8
8
|
with the License. You may obtain a copy of the License at
|
|
9
9
|
|
|
10
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
|
|
12
12
|
Unless required by applicable law or agreed to in writing,
|
|
13
13
|
software distributed under the License is distributed on an
|
|
@@ -520,7 +520,13 @@ class SetDeserializer(ListIO):
|
|
|
520
520
|
|
|
521
521
|
@classmethod
|
|
522
522
|
def objectify(cls, buff, reader, nullable=True):
|
|
523
|
-
|
|
523
|
+
the_list = ListIO.objectify(buff, reader, nullable)
|
|
524
|
+
try:
|
|
525
|
+
return set(the_list)
|
|
526
|
+
except TypeError:
|
|
527
|
+
log.warning("Coercing Set to list as it contains unhashable elements (e.g. dict, list). "
|
|
528
|
+
"See TINKERPOP-3232 for more details.")
|
|
529
|
+
return the_list
|
|
524
530
|
|
|
525
531
|
|
|
526
532
|
class MapIO(_GraphBinaryTypeIO):
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
# to you under the Apache License, Version 2.0 (the
|
|
7
7
|
# "License"); you may not use this file except in compliance
|
|
8
8
|
# with the License. You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
#
|
|
11
|
-
#
|
|
9
|
+
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing,
|
|
13
13
|
# software distributed under the License is distributed on an
|
|
14
14
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
# to you under the Apache License, Version 2.0 (the
|
|
6
6
|
# "License"); you may not use this file except in compliance
|
|
7
7
|
# with the License. You may obtain a copy of the License at
|
|
8
|
-
#
|
|
9
|
-
#
|
|
10
|
-
#
|
|
8
|
+
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
11
|
# Unless required by applicable law or agreed to in writing,
|
|
12
12
|
# software distributed under the License is distributed on an
|
|
13
13
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
@@ -438,9 +438,18 @@ class SetIO(_GraphSONTypeIO):
|
|
|
438
438
|
In case Java returns numeric values of different types which
|
|
439
439
|
python don't recognize, coerce and return a list.
|
|
440
440
|
See comments of TINKERPOP-1844 for more details
|
|
441
|
+
|
|
442
|
+
In case the set contains non-hashable elements (e.g. dict, list),
|
|
443
|
+
coerce and return a list.
|
|
444
|
+
See TINKERPOP-3232 for more details
|
|
441
445
|
"""
|
|
442
446
|
new_list = [reader.to_object(obj) for obj in s]
|
|
443
|
-
|
|
447
|
+
try:
|
|
448
|
+
new_set = set(new_list)
|
|
449
|
+
except TypeError:
|
|
450
|
+
log.warning("Coercing g:Set to list as it contains unhashable elements (e.g. dict, list). "
|
|
451
|
+
"See TINKERPOP-3232 for more details.")
|
|
452
|
+
return new_list
|
|
444
453
|
if len(new_list) != len(new_set):
|
|
445
454
|
log.warning("Coercing g:Set to list due to java numeric values. "
|
|
446
455
|
"See TINKERPOP-1844 for more details.")
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# "License"); you may not use this file except in compliance
|
|
7
7
|
# with the License. You may obtain a copy of the License at
|
|
8
8
|
#
|
|
9
|
-
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
10
|
#
|
|
11
11
|
# Unless required by applicable law or agreed to in writing,
|
|
12
12
|
# software distributed under the License is distributed on an
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gremlinpython
|
|
3
|
-
Version: 3.7.
|
|
3
|
+
Version: 3.7.6
|
|
4
4
|
Summary: Gremlin-Python for Apache TinkerPop
|
|
5
5
|
Maintainer-email: Apache TinkerPop <dev@tinkerpop.apache.org>
|
|
6
6
|
License: Apache 2
|
|
@@ -25,6 +25,7 @@ Requires-Dist: ujson>=2.0.0; extra == "ujson"
|
|
|
25
25
|
Provides-Extra: test
|
|
26
26
|
Requires-Dist: pytest<7.2.0,>=4.6.4; extra == "test"
|
|
27
27
|
Requires-Dist: radish-bdd==0.18.2; extra == "test"
|
|
28
|
+
Requires-Dist: lxml==5.3.0; extra == "test"
|
|
28
29
|
Requires-Dist: PyHamcrest<3.0.0,>=1.9.0; extra == "test"
|
|
29
30
|
Requires-Dist: PyYAML>=5.3; extra == "test"
|
|
30
31
|
Dynamic: license-file
|
|
@@ -4,7 +4,6 @@ NOTICE
|
|
|
4
4
|
README.rst
|
|
5
5
|
pyproject.toml
|
|
6
6
|
gremlin_python/__init__.py
|
|
7
|
-
gremlin_python/__version__.py
|
|
8
7
|
gremlin_python/statics.py
|
|
9
8
|
gremlin_python/driver/__init__.py
|
|
10
9
|
gremlin_python/driver/client.py
|
|
@@ -36,5 +35,4 @@ gremlinpython.egg-info/PKG-INFO
|
|
|
36
35
|
gremlinpython.egg-info/SOURCES.txt
|
|
37
36
|
gremlinpython.egg-info/dependency_links.txt
|
|
38
37
|
gremlinpython.egg-info/requires.txt
|
|
39
|
-
gremlinpython.egg-info/top_level.txt
|
|
40
|
-
tests/test_statics.py
|
|
38
|
+
gremlinpython.egg-info/top_level.txt
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# "License"); you may not use this file except in compliance
|
|
7
7
|
# with the License. You may obtain a copy of the License at
|
|
8
8
|
#
|
|
9
|
-
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
10
|
#
|
|
11
11
|
# Unless required by applicable law or agreed to in writing,
|
|
12
12
|
# software distributed under the License is distributed on an
|
|
@@ -50,6 +50,7 @@ ujson = ["ujson>=2.0.0"]
|
|
|
50
50
|
test = [
|
|
51
51
|
"pytest>=4.6.4,<7.2.0",
|
|
52
52
|
"radish-bdd==0.18.2",
|
|
53
|
+
"lxml==5.3.0",
|
|
53
54
|
"PyHamcrest>=1.9.0,<3.0.0",
|
|
54
55
|
"PyYAML>=5.3"
|
|
55
56
|
]
|
|
@@ -57,7 +58,7 @@ test = [
|
|
|
57
58
|
[tool.pytest.ini_options]
|
|
58
59
|
addopts = "--junitxml=./python-reports/TEST-native-python.xml -sv"
|
|
59
60
|
norecursedirs = [".*", "build", "dist", "CVS", "_darcs", "{arch}", "*.egg", "lib", "lib64"]
|
|
60
|
-
testpaths = ["tests"]
|
|
61
|
+
testpaths = ["tests/unit","tests/integration"]
|
|
61
62
|
|
|
62
63
|
[tool.setuptools.dynamic]
|
|
63
64
|
version = {attr = "gremlin_python.__version__"}
|
gremlinpython-3.7.5/NOTICE
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'''
|
|
2
|
-
Licensed to the Apache Software Foundation (ASF) under one
|
|
3
|
-
or more contributor license agreements. See the NOTICE file
|
|
4
|
-
distributed with this work for additional information
|
|
5
|
-
regarding copyright ownership. The ASF licenses this file
|
|
6
|
-
to you under the Apache License, Version 2.0 (the
|
|
7
|
-
"License"); you may not use this file except in compliance
|
|
8
|
-
with the License. You may obtain a copy of the License at
|
|
9
|
-
|
|
10
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
|
|
12
|
-
Unless required by applicable law or agreed to in writing,
|
|
13
|
-
software distributed under the License is distributed on an
|
|
14
|
-
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
15
|
-
KIND, either express or implied. See the License for the
|
|
16
|
-
specific language governing permissions and limitations
|
|
17
|
-
under the License.
|
|
18
|
-
'''
|
|
19
|
-
version = '?'
|
|
20
|
-
timestamp = 1739570012
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
#
|
|
2
|
-
# Licensed to the Apache Software Foundation (ASF) under one
|
|
3
|
-
# or more contributor license agreements. See the NOTICE file
|
|
4
|
-
# distributed with this work for additional information
|
|
5
|
-
# regarding copyright ownership. The ASF licenses this file
|
|
6
|
-
# to you under the Apache License, Version 2.0 (the
|
|
7
|
-
# "License"); you may not use this file except in compliance
|
|
8
|
-
# with the License. You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
#
|
|
12
|
-
# Unless required by applicable law or agreed to in writing,
|
|
13
|
-
# software distributed under the License is distributed on an
|
|
14
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
15
|
-
# KIND, either express or implied. See the License for the
|
|
16
|
-
# specific language governing permissions and limitations
|
|
17
|
-
# under the License.
|
|
18
|
-
#
|
|
19
|
-
|
|
20
|
-
__author__ = 'Marko A. Rodriguez (http://markorodriguez.com)'
|
|
21
|
-
|
|
22
|
-
from gremlin_python import statics
|
|
23
|
-
from gremlin_python.process.traversal import Cardinality
|
|
24
|
-
from gremlin_python.process.traversal import P
|
|
25
|
-
from gremlin_python.process.traversal import Pop
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
class TestStatics(object):
|
|
29
|
-
def test_enums(self):
|
|
30
|
-
statics.load_statics(globals())
|
|
31
|
-
assert isinstance(list_, Cardinality)
|
|
32
|
-
assert list_ is Cardinality.list_
|
|
33
|
-
#
|
|
34
|
-
assert isinstance(eq(2), P)
|
|
35
|
-
assert eq(2) == P.eq(2)
|
|
36
|
-
#
|
|
37
|
-
assert isinstance(first, Pop)
|
|
38
|
-
assert first == Pop.first
|
|
39
|
-
statics.unload_statics(globals())
|
|
40
|
-
|
|
41
|
-
def test_singlebyte(self):
|
|
42
|
-
assert -128 == statics.SingleByte(-128)
|
|
43
|
-
assert 1 == statics.SingleByte(1)
|
|
44
|
-
assert 127 == statics.SingleByte(127)
|
|
45
|
-
try:
|
|
46
|
-
statics.SingleByte(128)
|
|
47
|
-
raise Exception("SingleByte should throw a value error if input is larger than 127")
|
|
48
|
-
except ValueError:
|
|
49
|
-
pass
|
|
50
|
-
|
|
51
|
-
try:
|
|
52
|
-
statics.SingleByte(-129)
|
|
53
|
-
raise Exception("SingleByte should throw a value error if input is smaller than -128")
|
|
54
|
-
except ValueError:
|
|
55
|
-
pass
|
|
56
|
-
|
|
57
|
-
def test_singlechar(self):
|
|
58
|
-
assert 'a' == statics.SingleChar('a')
|
|
59
|
-
assert chr(76) == statics.SingleChar(chr(76))
|
|
60
|
-
assert chr(57344) == statics.SingleChar(chr(57344))
|
|
61
|
-
try:
|
|
62
|
-
statics.SingleChar('abc')
|
|
63
|
-
raise Exception("SingleChar should throw a value error if input is not a single character string")
|
|
64
|
-
except ValueError:
|
|
65
|
-
pass
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|