python-arango 8.1.5__tar.gz → 8.1.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.
- {python_arango-8.1.5 → python_arango-8.1.6}/PKG-INFO +2 -2
- {python_arango-8.1.5 → python_arango-8.1.6}/README.md +1 -1
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/client.py +6 -4
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/job.py +3 -3
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/async.rst +2 -2
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/certificates.rst +16 -2
- {python_arango-8.1.5 → python_arango-8.1.6}/python_arango.egg-info/PKG-INFO +2 -2
- {python_arango-8.1.5 → python_arango-8.1.6}/.circleci/config.yml +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/.github/workflows/codeql.yaml +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/.github/workflows/docs.yaml +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/.github/workflows/pypi.yaml +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/.gitignore +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/.pre-commit-config.yaml +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/.readthedocs.yaml +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/CONTRIBUTING.md +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/LICENSE +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/MANIFEST.in +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/__init__.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/api.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/aql.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/backup.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/cluster.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/collection.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/connection.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/cursor.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/database.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/errno.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/exceptions.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/executor.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/formatter.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/foxx.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/graph.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/http.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/pregel.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/py.typed +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/replication.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/request.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/resolver.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/response.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/result.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/typings.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/utils.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/arango/wal.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/Makefile +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/admin.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/analyzer.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/aql.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/auth.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/backup.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/batch.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/cluster.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/collection.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/compression.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/conf.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/contributing.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/cursor.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/database.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/document.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/errno.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/errors.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/foxx.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/graph.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/http.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/index.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/indexes.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/logging.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/make.bat +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/overload.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/overview.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/pregel.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/replication.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/requirements.txt +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/schema.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/serializer.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/simple.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/specs.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/static/logo.png +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/task.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/threading.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/transaction.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/user.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/view.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/docs/wal.rst +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/pyproject.toml +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/python_arango.egg-info/SOURCES.txt +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/python_arango.egg-info/dependency_links.txt +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/python_arango.egg-info/requires.txt +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/python_arango.egg-info/top_level.txt +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/setup.cfg +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/setup.py +0 -0
- {python_arango-8.1.5 → python_arango-8.1.6}/starter.sh +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: python-arango
|
|
3
|
-
Version: 8.1.
|
|
3
|
+
Version: 8.1.6
|
|
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>
|
|
@@ -72,7 +72,7 @@ Requires-Dist: types-setuptools; extra == "dev"
|
|
|
72
72
|
[](https://github.com/arangodb/python-arango/commits/main)
|
|
73
73
|
|
|
74
74
|
[](https://pypi.org/project/python-arango/)
|
|
75
|
-
[](https://pypi.org/project/python-arango/)
|
|
76
76
|
|
|
77
77
|
[](https://github.com/arangodb/python-arango/blob/main/LICENSE)
|
|
78
78
|
[](https://github.com/psf/black)
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://github.com/arangodb/python-arango/commits/main)
|
|
8
8
|
|
|
9
9
|
[](https://pypi.org/project/python-arango/)
|
|
10
|
-
[](https://pypi.org/project/python-arango/)
|
|
11
11
|
|
|
12
12
|
[](https://github.com/arangodb/python-arango/blob/main/LICENSE)
|
|
13
13
|
[](https://github.com/psf/black)
|
|
@@ -79,10 +79,12 @@ class ArangoClient:
|
|
|
79
79
|
:type deserializer: callable
|
|
80
80
|
:param verify_override: Override TLS certificate verification. This will
|
|
81
81
|
override the verify method of the underlying HTTP client.
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
82
|
+
|
|
83
|
+
- `None`: Do not change the verification behavior of the
|
|
84
|
+
underlying HTTP client.
|
|
85
|
+
- `True`: Verify TLS certificate using the system CA certificates.
|
|
86
|
+
- `False`: Do not verify TLS certificate.
|
|
87
|
+
- `str`: Path to a custom CA bundle file or directory.
|
|
86
88
|
:type verify_override: Union[bool, str, None]
|
|
87
89
|
:param request_timeout: This is the default request timeout (in seconds)
|
|
88
90
|
for http requests issued by the client if the parameter http_client is
|
|
@@ -60,10 +60,10 @@ class AsyncJob(Generic[T]):
|
|
|
60
60
|
fail.
|
|
61
61
|
|
|
62
62
|
:return: Async job status. Possible values are "pending" (job is still
|
|
63
|
-
in queue), "done" (job finished or raised an error)
|
|
64
|
-
(job was cancelled before completion).
|
|
63
|
+
in queue), "done" (job finished or raised an error).
|
|
65
64
|
:rtype: str
|
|
66
|
-
:raise arango.exceptions.AsyncJobStatusError: If retrieval fails
|
|
65
|
+
:raise arango.exceptions.AsyncJobStatusError: If retrieval fails or
|
|
66
|
+
job is not found.
|
|
67
67
|
"""
|
|
68
68
|
request = Request(method="get", endpoint=f"/_api/job/{self._id}")
|
|
69
69
|
resp = self._conn.send_request(request)
|
|
@@ -45,8 +45,8 @@ the results can be retrieved once available via :ref:`AsyncJob` objects.
|
|
|
45
45
|
|
|
46
46
|
# Retrieve the status of each async job.
|
|
47
47
|
for job in [job1, job2, job3, job4]:
|
|
48
|
-
# Job status can be "pending"
|
|
49
|
-
assert job.status() in {'pending', 'done'
|
|
48
|
+
# Job status can be "pending" or "done".
|
|
49
|
+
assert job.status() in {'pending', 'done'}
|
|
50
50
|
|
|
51
51
|
# Let's wait until the jobs are finished.
|
|
52
52
|
while job.status() != 'done':
|
|
@@ -17,8 +17,7 @@ your HTTP client as described in the :ref:`HTTPClients` section.
|
|
|
17
17
|
|
|
18
18
|
The ``ArangoClient`` class provides an option to override the verification behavior,
|
|
19
19
|
no matter what has been defined in the underlying HTTP session.
|
|
20
|
-
You can use this option to disable verification
|
|
21
|
-
defining a custom HTTP Client.
|
|
20
|
+
You can use this option to disable verification.
|
|
22
21
|
|
|
23
22
|
.. code-block:: python
|
|
24
23
|
|
|
@@ -34,3 +33,18 @@ application:
|
|
|
34
33
|
|
|
35
34
|
import requests
|
|
36
35
|
requests.packages.urllib3.disable_warnings()
|
|
36
|
+
|
|
37
|
+
You can also provide a custom CA bundle without defining a custom HTTP Client:
|
|
38
|
+
|
|
39
|
+
.. code-block:: python
|
|
40
|
+
|
|
41
|
+
client = ArangoClient(hosts="https://localhost:8529", verify_override="path/to/certfile")
|
|
42
|
+
|
|
43
|
+
If `verify_override` is set to a path to a directory, the directory must have been processed using the `c_rehash` utility
|
|
44
|
+
supplied with OpenSSL. For more information, see the `requests documentation <https://requests.readthedocs.io/en/master/user/advanced/#ssl-cert-verification>`_.
|
|
45
|
+
|
|
46
|
+
Setting `verify_override` to `True` will use the system's default CA bundle.
|
|
47
|
+
|
|
48
|
+
.. code-block:: python
|
|
49
|
+
|
|
50
|
+
client = ArangoClient(hosts="https://localhost:8529", verify_override=True)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: python-arango
|
|
3
|
-
Version: 8.1.
|
|
3
|
+
Version: 8.1.6
|
|
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>
|
|
@@ -72,7 +72,7 @@ Requires-Dist: types-setuptools; extra == "dev"
|
|
|
72
72
|
[](https://github.com/arangodb/python-arango/commits/main)
|
|
73
73
|
|
|
74
74
|
[](https://pypi.org/project/python-arango/)
|
|
75
|
-
[](https://pypi.org/project/python-arango/)
|
|
76
76
|
|
|
77
77
|
[](https://github.com/arangodb/python-arango/blob/main/LICENSE)
|
|
78
78
|
[](https://github.com/psf/black)
|
|
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
|