python-arango 8.1.2__tar.gz → 8.1.3__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.
- {python_arango-8.1.2 → python_arango-8.1.3}/PKG-INFO +3 -3
- {python_arango-8.1.2 → python_arango-8.1.3}/README.md +2 -2
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/connection.py +1 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/database.py +4 -3
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/utils.py +5 -1
- {python_arango-8.1.2 → python_arango-8.1.3}/python_arango.egg-info/PKG-INFO +3 -3
- {python_arango-8.1.2 → python_arango-8.1.3}/.circleci/config.yml +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/.github/workflows/codeql.yaml +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/.github/workflows/docs.yaml +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/.github/workflows/pypi.yaml +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/.gitignore +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/.pre-commit-config.yaml +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/.readthedocs.yaml +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/CONTRIBUTING.md +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/LICENSE +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/MANIFEST.in +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/__init__.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/api.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/aql.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/backup.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/client.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/cluster.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/collection.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/cursor.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/errno.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/exceptions.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/executor.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/formatter.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/foxx.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/graph.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/http.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/job.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/pregel.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/py.typed +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/replication.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/request.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/resolver.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/response.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/result.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/typings.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/arango/wal.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/Makefile +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/admin.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/analyzer.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/aql.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/async.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/auth.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/backup.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/batch.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/certificates.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/cluster.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/collection.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/compression.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/conf.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/contributing.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/cursor.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/database.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/document.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/errno.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/errors.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/foxx.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/graph.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/http.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/index.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/indexes.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/logging.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/make.bat +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/overload.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/overview.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/pregel.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/replication.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/requirements.txt +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/schema.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/serializer.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/simple.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/specs.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/static/logo.png +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/task.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/threading.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/transaction.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/user.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/view.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/docs/wal.rst +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/pyproject.toml +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/python_arango.egg-info/SOURCES.txt +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/python_arango.egg-info/dependency_links.txt +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/python_arango.egg-info/requires.txt +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/python_arango.egg-info/top_level.txt +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/setup.cfg +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/setup.py +0 -0
- {python_arango-8.1.2 → python_arango-8.1.3}/starter.sh +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-arango
|
|
3
|
-
Version: 8.1.
|
|
3
|
+
Version: 8.1.3
|
|
4
4
|
Summary: Python Driver for ArangoDB
|
|
5
5
|
Author-email: Joohwan Oh <joohwan.oh@outlook.com>
|
|
6
6
|
Maintainer-email: Joohwan Oh <joohwan.oh@outlook.com>, Alexandru Petenchea <alex.petenchea@gmail.com>, Anthony Mahanna <anthony.mahanna@arangodb.com>
|
|
@@ -70,12 +70,12 @@ Requires-Dist: types-setuptools; extra == "dev"
|
|
|
70
70
|
[](https://github.com/arangodb/python-arango/actions/workflows/codeql.yaml)
|
|
71
71
|
[](https://github.com/arangodb/python-arango/actions/workflows/docs.yaml)
|
|
72
72
|
[](https://codecov.io/gh/arangodb/python-arango)
|
|
73
|
-
[](https://github.com/arangodb/python-arango/commits/
|
|
73
|
+
[](https://github.com/arangodb/python-arango/commits/main)
|
|
74
74
|
|
|
75
75
|
[](https://pypi.org/project/python-arango/)
|
|
76
76
|
[](https://pypi.org/project/python-arango/)
|
|
77
77
|
|
|
78
|
-
[](https://github.com/arangodb/python-arango/blob/
|
|
78
|
+
[](https://github.com/arangodb/python-arango/blob/main/LICENSE)
|
|
79
79
|
[](https://github.com/psf/black)
|
|
80
80
|
[](https://pepy.tech/project/python-arango)
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
[](https://github.com/arangodb/python-arango/actions/workflows/codeql.yaml)
|
|
5
5
|
[](https://github.com/arangodb/python-arango/actions/workflows/docs.yaml)
|
|
6
6
|
[](https://codecov.io/gh/arangodb/python-arango)
|
|
7
|
-
[](https://github.com/arangodb/python-arango/commits/
|
|
7
|
+
[](https://github.com/arangodb/python-arango/commits/main)
|
|
8
8
|
|
|
9
9
|
[](https://pypi.org/project/python-arango/)
|
|
10
10
|
[](https://pypi.org/project/python-arango/)
|
|
11
11
|
|
|
12
|
-
[](https://github.com/arangodb/python-arango/blob/
|
|
12
|
+
[](https://github.com/arangodb/python-arango/blob/main/LICENSE)
|
|
13
13
|
[](https://github.com/psf/black)
|
|
14
14
|
[](https://pepy.tech/project/python-arango)
|
|
@@ -47,6 +47,7 @@ class BaseConnection:
|
|
|
47
47
|
request_compression: Optional[RequestCompression] = None,
|
|
48
48
|
response_compression: Optional[str] = None,
|
|
49
49
|
) -> None:
|
|
50
|
+
self._hosts = hosts
|
|
50
51
|
self._url_prefixes = [f"{host}/_db/{db_name}" for host in hosts]
|
|
51
52
|
self._host_resolver = host_resolver
|
|
52
53
|
self._sessions = sessions
|
|
@@ -436,7 +436,7 @@ class Database(ApiGroup):
|
|
|
436
436
|
instance. Can be called on single servers, Coordinators,
|
|
437
437
|
and DB-Servers.
|
|
438
438
|
|
|
439
|
-
:param license: The Base64-encoded license string.
|
|
439
|
+
:param license: The Base64-encoded license string, wrapped in double-quotes.
|
|
440
440
|
:type license: str
|
|
441
441
|
:param force: If set to True, the new license will be set even if
|
|
442
442
|
it expires sooner than the current license.
|
|
@@ -1284,8 +1284,9 @@ class Database(ApiGroup):
|
|
|
1284
1284
|
:type name: str
|
|
1285
1285
|
:param users: List of users with access to the new database, where each
|
|
1286
1286
|
user is a dictionary with fields "username", "password", "active"
|
|
1287
|
-
and "extra" (see below for example). If not set,
|
|
1288
|
-
|
|
1287
|
+
and "extra" (see below for example). If not set, the default user root
|
|
1288
|
+
will be used to ensure that the new database will be accessible after
|
|
1289
|
+
it is created.
|
|
1289
1290
|
:type users: [dict]
|
|
1290
1291
|
:param replication_factor: Default replication factor for collections
|
|
1291
1292
|
created in this database. Special values include "satellite" which
|
|
@@ -120,5 +120,9 @@ def build_filter_conditions(filters: Json) -> str:
|
|
|
120
120
|
if not filters:
|
|
121
121
|
return ""
|
|
122
122
|
|
|
123
|
-
conditions = [
|
|
123
|
+
conditions = []
|
|
124
|
+
for k, v in filters.items():
|
|
125
|
+
field = k if "." in k else f"`{k}`"
|
|
126
|
+
conditions.append(f"doc.{field} == {json.dumps(v)}")
|
|
127
|
+
|
|
124
128
|
return "FILTER " + " AND ".join(conditions)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-arango
|
|
3
|
-
Version: 8.1.
|
|
3
|
+
Version: 8.1.3
|
|
4
4
|
Summary: Python Driver for ArangoDB
|
|
5
5
|
Author-email: Joohwan Oh <joohwan.oh@outlook.com>
|
|
6
6
|
Maintainer-email: Joohwan Oh <joohwan.oh@outlook.com>, Alexandru Petenchea <alex.petenchea@gmail.com>, Anthony Mahanna <anthony.mahanna@arangodb.com>
|
|
@@ -70,12 +70,12 @@ Requires-Dist: types-setuptools; extra == "dev"
|
|
|
70
70
|
[](https://github.com/arangodb/python-arango/actions/workflows/codeql.yaml)
|
|
71
71
|
[](https://github.com/arangodb/python-arango/actions/workflows/docs.yaml)
|
|
72
72
|
[](https://codecov.io/gh/arangodb/python-arango)
|
|
73
|
-
[](https://github.com/arangodb/python-arango/commits/
|
|
73
|
+
[](https://github.com/arangodb/python-arango/commits/main)
|
|
74
74
|
|
|
75
75
|
[](https://pypi.org/project/python-arango/)
|
|
76
76
|
[](https://pypi.org/project/python-arango/)
|
|
77
77
|
|
|
78
|
-
[](https://github.com/arangodb/python-arango/blob/
|
|
78
|
+
[](https://github.com/arangodb/python-arango/blob/main/LICENSE)
|
|
79
79
|
[](https://github.com/psf/black)
|
|
80
80
|
[](https://pepy.tech/project/python-arango)
|
|
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
|
|
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
|
|
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
|
|
File without changes
|