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.
Files changed (91) hide show
  1. {python_arango-8.1.5 → python_arango-8.1.6}/PKG-INFO +2 -2
  2. {python_arango-8.1.5 → python_arango-8.1.6}/README.md +1 -1
  3. {python_arango-8.1.5 → python_arango-8.1.6}/arango/client.py +6 -4
  4. {python_arango-8.1.5 → python_arango-8.1.6}/arango/job.py +3 -3
  5. {python_arango-8.1.5 → python_arango-8.1.6}/docs/async.rst +2 -2
  6. {python_arango-8.1.5 → python_arango-8.1.6}/docs/certificates.rst +16 -2
  7. {python_arango-8.1.5 → python_arango-8.1.6}/python_arango.egg-info/PKG-INFO +2 -2
  8. {python_arango-8.1.5 → python_arango-8.1.6}/.circleci/config.yml +0 -0
  9. {python_arango-8.1.5 → python_arango-8.1.6}/.github/workflows/codeql.yaml +0 -0
  10. {python_arango-8.1.5 → python_arango-8.1.6}/.github/workflows/docs.yaml +0 -0
  11. {python_arango-8.1.5 → python_arango-8.1.6}/.github/workflows/pypi.yaml +0 -0
  12. {python_arango-8.1.5 → python_arango-8.1.6}/.gitignore +0 -0
  13. {python_arango-8.1.5 → python_arango-8.1.6}/.pre-commit-config.yaml +0 -0
  14. {python_arango-8.1.5 → python_arango-8.1.6}/.readthedocs.yaml +0 -0
  15. {python_arango-8.1.5 → python_arango-8.1.6}/CONTRIBUTING.md +0 -0
  16. {python_arango-8.1.5 → python_arango-8.1.6}/LICENSE +0 -0
  17. {python_arango-8.1.5 → python_arango-8.1.6}/MANIFEST.in +0 -0
  18. {python_arango-8.1.5 → python_arango-8.1.6}/arango/__init__.py +0 -0
  19. {python_arango-8.1.5 → python_arango-8.1.6}/arango/api.py +0 -0
  20. {python_arango-8.1.5 → python_arango-8.1.6}/arango/aql.py +0 -0
  21. {python_arango-8.1.5 → python_arango-8.1.6}/arango/backup.py +0 -0
  22. {python_arango-8.1.5 → python_arango-8.1.6}/arango/cluster.py +0 -0
  23. {python_arango-8.1.5 → python_arango-8.1.6}/arango/collection.py +0 -0
  24. {python_arango-8.1.5 → python_arango-8.1.6}/arango/connection.py +0 -0
  25. {python_arango-8.1.5 → python_arango-8.1.6}/arango/cursor.py +0 -0
  26. {python_arango-8.1.5 → python_arango-8.1.6}/arango/database.py +0 -0
  27. {python_arango-8.1.5 → python_arango-8.1.6}/arango/errno.py +0 -0
  28. {python_arango-8.1.5 → python_arango-8.1.6}/arango/exceptions.py +0 -0
  29. {python_arango-8.1.5 → python_arango-8.1.6}/arango/executor.py +0 -0
  30. {python_arango-8.1.5 → python_arango-8.1.6}/arango/formatter.py +0 -0
  31. {python_arango-8.1.5 → python_arango-8.1.6}/arango/foxx.py +0 -0
  32. {python_arango-8.1.5 → python_arango-8.1.6}/arango/graph.py +0 -0
  33. {python_arango-8.1.5 → python_arango-8.1.6}/arango/http.py +0 -0
  34. {python_arango-8.1.5 → python_arango-8.1.6}/arango/pregel.py +0 -0
  35. {python_arango-8.1.5 → python_arango-8.1.6}/arango/py.typed +0 -0
  36. {python_arango-8.1.5 → python_arango-8.1.6}/arango/replication.py +0 -0
  37. {python_arango-8.1.5 → python_arango-8.1.6}/arango/request.py +0 -0
  38. {python_arango-8.1.5 → python_arango-8.1.6}/arango/resolver.py +0 -0
  39. {python_arango-8.1.5 → python_arango-8.1.6}/arango/response.py +0 -0
  40. {python_arango-8.1.5 → python_arango-8.1.6}/arango/result.py +0 -0
  41. {python_arango-8.1.5 → python_arango-8.1.6}/arango/typings.py +0 -0
  42. {python_arango-8.1.5 → python_arango-8.1.6}/arango/utils.py +0 -0
  43. {python_arango-8.1.5 → python_arango-8.1.6}/arango/wal.py +0 -0
  44. {python_arango-8.1.5 → python_arango-8.1.6}/docs/Makefile +0 -0
  45. {python_arango-8.1.5 → python_arango-8.1.6}/docs/admin.rst +0 -0
  46. {python_arango-8.1.5 → python_arango-8.1.6}/docs/analyzer.rst +0 -0
  47. {python_arango-8.1.5 → python_arango-8.1.6}/docs/aql.rst +0 -0
  48. {python_arango-8.1.5 → python_arango-8.1.6}/docs/auth.rst +0 -0
  49. {python_arango-8.1.5 → python_arango-8.1.6}/docs/backup.rst +0 -0
  50. {python_arango-8.1.5 → python_arango-8.1.6}/docs/batch.rst +0 -0
  51. {python_arango-8.1.5 → python_arango-8.1.6}/docs/cluster.rst +0 -0
  52. {python_arango-8.1.5 → python_arango-8.1.6}/docs/collection.rst +0 -0
  53. {python_arango-8.1.5 → python_arango-8.1.6}/docs/compression.rst +0 -0
  54. {python_arango-8.1.5 → python_arango-8.1.6}/docs/conf.py +0 -0
  55. {python_arango-8.1.5 → python_arango-8.1.6}/docs/contributing.rst +0 -0
  56. {python_arango-8.1.5 → python_arango-8.1.6}/docs/cursor.rst +0 -0
  57. {python_arango-8.1.5 → python_arango-8.1.6}/docs/database.rst +0 -0
  58. {python_arango-8.1.5 → python_arango-8.1.6}/docs/document.rst +0 -0
  59. {python_arango-8.1.5 → python_arango-8.1.6}/docs/errno.rst +0 -0
  60. {python_arango-8.1.5 → python_arango-8.1.6}/docs/errors.rst +0 -0
  61. {python_arango-8.1.5 → python_arango-8.1.6}/docs/foxx.rst +0 -0
  62. {python_arango-8.1.5 → python_arango-8.1.6}/docs/graph.rst +0 -0
  63. {python_arango-8.1.5 → python_arango-8.1.6}/docs/http.rst +0 -0
  64. {python_arango-8.1.5 → python_arango-8.1.6}/docs/index.rst +0 -0
  65. {python_arango-8.1.5 → python_arango-8.1.6}/docs/indexes.rst +0 -0
  66. {python_arango-8.1.5 → python_arango-8.1.6}/docs/logging.rst +0 -0
  67. {python_arango-8.1.5 → python_arango-8.1.6}/docs/make.bat +0 -0
  68. {python_arango-8.1.5 → python_arango-8.1.6}/docs/overload.rst +0 -0
  69. {python_arango-8.1.5 → python_arango-8.1.6}/docs/overview.rst +0 -0
  70. {python_arango-8.1.5 → python_arango-8.1.6}/docs/pregel.rst +0 -0
  71. {python_arango-8.1.5 → python_arango-8.1.6}/docs/replication.rst +0 -0
  72. {python_arango-8.1.5 → python_arango-8.1.6}/docs/requirements.txt +0 -0
  73. {python_arango-8.1.5 → python_arango-8.1.6}/docs/schema.rst +0 -0
  74. {python_arango-8.1.5 → python_arango-8.1.6}/docs/serializer.rst +0 -0
  75. {python_arango-8.1.5 → python_arango-8.1.6}/docs/simple.rst +0 -0
  76. {python_arango-8.1.5 → python_arango-8.1.6}/docs/specs.rst +0 -0
  77. {python_arango-8.1.5 → python_arango-8.1.6}/docs/static/logo.png +0 -0
  78. {python_arango-8.1.5 → python_arango-8.1.6}/docs/task.rst +0 -0
  79. {python_arango-8.1.5 → python_arango-8.1.6}/docs/threading.rst +0 -0
  80. {python_arango-8.1.5 → python_arango-8.1.6}/docs/transaction.rst +0 -0
  81. {python_arango-8.1.5 → python_arango-8.1.6}/docs/user.rst +0 -0
  82. {python_arango-8.1.5 → python_arango-8.1.6}/docs/view.rst +0 -0
  83. {python_arango-8.1.5 → python_arango-8.1.6}/docs/wal.rst +0 -0
  84. {python_arango-8.1.5 → python_arango-8.1.6}/pyproject.toml +0 -0
  85. {python_arango-8.1.5 → python_arango-8.1.6}/python_arango.egg-info/SOURCES.txt +0 -0
  86. {python_arango-8.1.5 → python_arango-8.1.6}/python_arango.egg-info/dependency_links.txt +0 -0
  87. {python_arango-8.1.5 → python_arango-8.1.6}/python_arango.egg-info/requires.txt +0 -0
  88. {python_arango-8.1.5 → python_arango-8.1.6}/python_arango.egg-info/top_level.txt +0 -0
  89. {python_arango-8.1.5 → python_arango-8.1.6}/setup.cfg +0 -0
  90. {python_arango-8.1.5 → python_arango-8.1.6}/setup.py +0 -0
  91. {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.5
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
  [![Last commit](https://img.shields.io/github/last-commit/arangodb/python-arango)](https://github.com/arangodb/python-arango/commits/main)
73
73
 
74
74
  [![PyPI version badge](https://img.shields.io/pypi/v/python-arango?color=3775A9&style=for-the-badge&logo=pypi&logoColor=FFD43B)](https://pypi.org/project/python-arango/)
75
- [![Python versions badge](https://img.shields.io/badge/3.8%2B-3776AB?style=for-the-badge&logo=python&logoColor=FFD43B&label=Python)](https://pypi.org/project/python-arango/)
75
+ [![Python versions badge](https://img.shields.io/badge/3.9%2B-3776AB?style=for-the-badge&logo=python&logoColor=FFD43B&label=Python)](https://pypi.org/project/python-arango/)
76
76
 
77
77
  [![License](https://img.shields.io/github/license/arangodb/python-arango?color=9E2165&style=for-the-badge)](https://github.com/arangodb/python-arango/blob/main/LICENSE)
78
78
  [![Code style: black](https://img.shields.io/static/v1?style=for-the-badge&label=code%20style&message=black&color=black)](https://github.com/psf/black)
@@ -7,7 +7,7 @@
7
7
  [![Last commit](https://img.shields.io/github/last-commit/arangodb/python-arango)](https://github.com/arangodb/python-arango/commits/main)
8
8
 
9
9
  [![PyPI version badge](https://img.shields.io/pypi/v/python-arango?color=3775A9&style=for-the-badge&logo=pypi&logoColor=FFD43B)](https://pypi.org/project/python-arango/)
10
- [![Python versions badge](https://img.shields.io/badge/3.8%2B-3776AB?style=for-the-badge&logo=python&logoColor=FFD43B&label=Python)](https://pypi.org/project/python-arango/)
10
+ [![Python versions badge](https://img.shields.io/badge/3.9%2B-3776AB?style=for-the-badge&logo=python&logoColor=FFD43B&label=Python)](https://pypi.org/project/python-arango/)
11
11
 
12
12
  [![License](https://img.shields.io/github/license/arangodb/python-arango?color=9E2165&style=for-the-badge)](https://github.com/arangodb/python-arango/blob/main/LICENSE)
13
13
  [![Code style: black](https://img.shields.io/static/v1?style=for-the-badge&label=code%20style&message=black&color=black)](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
- None: Do not change the verification behavior of the underlying HTTP client.
83
- True: Verify TLS certificate using the system CA certificates.
84
- False: Do not verify TLS certificate.
85
- str: Path to a custom CA bundle file or directory.
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), or "cancelled"
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", "done" or "cancelled".
49
- assert job.status() in {'pending', 'done', 'cancelled'}
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 or provide a custom CA bundle without
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.5
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
  [![Last commit](https://img.shields.io/github/last-commit/arangodb/python-arango)](https://github.com/arangodb/python-arango/commits/main)
73
73
 
74
74
  [![PyPI version badge](https://img.shields.io/pypi/v/python-arango?color=3775A9&style=for-the-badge&logo=pypi&logoColor=FFD43B)](https://pypi.org/project/python-arango/)
75
- [![Python versions badge](https://img.shields.io/badge/3.8%2B-3776AB?style=for-the-badge&logo=python&logoColor=FFD43B&label=Python)](https://pypi.org/project/python-arango/)
75
+ [![Python versions badge](https://img.shields.io/badge/3.9%2B-3776AB?style=for-the-badge&logo=python&logoColor=FFD43B&label=Python)](https://pypi.org/project/python-arango/)
76
76
 
77
77
  [![License](https://img.shields.io/github/license/arangodb/python-arango?color=9E2165&style=for-the-badge)](https://github.com/arangodb/python-arango/blob/main/LICENSE)
78
78
  [![Code style: black](https://img.shields.io/static/v1?style=for-the-badge&label=code%20style&message=black&color=black)](https://github.com/psf/black)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes