python-arango-async 1.0.6__tar.gz → 1.1.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.
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/.pre-commit-config.yaml +1 -1
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/PKG-INFO +4 -4
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/auth.py +1 -1
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/collection.py +7 -3
- python_arango_async-1.1.0/arangoasync/version.py +1 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/pyproject.toml +4 -3
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/python_arango_async.egg-info/PKG-INFO +4 -4
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/python_arango_async.egg-info/requires.txt +3 -3
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_document.py +3 -4
- python_arango_async-1.0.6/arangoasync/version.py +0 -1
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/.circleci/config.yml +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/.github/workflows/codeql.yaml +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/.github/workflows/docs.yaml +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/.github/workflows/pypi.yaml +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/.gitignore +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/.readthedocs.yaml +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/CONTRIBUTING.md +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/LICENSE +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/README.md +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/__init__.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/aql.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/backup.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/client.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/cluster.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/compression.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/connection.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/cursor.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/database.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/errno.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/exceptions.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/executor.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/foxx.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/graph.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/http.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/job.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/logger.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/replication.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/request.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/resolver.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/response.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/result.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/serialization.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/arangoasync/typings.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/admin.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/analyzer.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/aql.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/async.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/authentication.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/backup.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/certificates.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/cluster.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/collection.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/compression.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/conf.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/cursor.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/database.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/document.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/errno.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/errors.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/foxx.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/graph.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/helpers.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/http.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/index.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/indexes.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/logging.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/migration.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/overview.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/serialization.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/specs.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/static/logo.png +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/task.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/transaction.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/user.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/docs/view.rst +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/python_arango_async.egg-info/SOURCES.txt +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/python_arango_async.egg-info/dependency_links.txt +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/python_arango_async.egg-info/top_level.txt +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/setup.cfg +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/setup.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/starter.sh +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/__init__.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/conftest.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/helpers.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/static/cluster-3.12.conf +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/static/keyfile +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/static/service.zip +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/static/single-3.12.conf +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_analyzer.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_aql.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_async.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_backup.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_client.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_cluster.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_collection.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_compression.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_connection.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_cursor.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_database.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_foxx.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_graph.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_http.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_resolver.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_task.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_transaction.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_typings.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_user.py +0 -0
- {python_arango_async-1.0.6 → python_arango_async-1.1.0}/tests/test_view.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-arango-async
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
Summary: Async Python Driver for ArangoDB
|
|
5
5
|
Author-email: Alexandru Petenchea <alexandru.petenchea@arangodb.com>, Anthony Mahanna <anthony.mahanna@arangodb.com>
|
|
6
6
|
Maintainer-email: Alexandru Petenchea <alexandru.petenchea@arangodb.com>, Anthony Mahanna <anthony.mahanna@arangodb.com>
|
|
@@ -23,13 +23,13 @@ License-File: LICENSE
|
|
|
23
23
|
Requires-Dist: packaging>=23.1
|
|
24
24
|
Requires-Dist: aiohttp>=3.9
|
|
25
25
|
Requires-Dist: multidict>=6.0
|
|
26
|
-
Requires-Dist: pyjwt>=2.
|
|
26
|
+
Requires-Dist: pyjwt>=2.10.0
|
|
27
27
|
Provides-Extra: dev
|
|
28
28
|
Requires-Dist: aiofiles>=24.1.0; extra == "dev"
|
|
29
29
|
Requires-Dist: black==26.1.0; extra == "dev"
|
|
30
30
|
Requires-Dist: flake8==7.3.0; extra == "dev"
|
|
31
|
-
Requires-Dist: isort>=5.10; extra == "dev"
|
|
32
|
-
Requires-Dist: mypy
|
|
31
|
+
Requires-Dist: isort>=5.10.1; extra == "dev"
|
|
32
|
+
Requires-Dist: mypy==1.15.0; extra == "dev"
|
|
33
33
|
Requires-Dist: pre-commit>=3.7; extra == "dev"
|
|
34
34
|
Requires-Dist: pytest>=8.2; extra == "dev"
|
|
35
35
|
Requires-Dist: pytest-asyncio>=0.23.8; extra == "dev"
|
|
@@ -934,7 +934,7 @@ class Collection(Generic[T, U, V]):
|
|
|
934
934
|
documents: Sequence[str | T],
|
|
935
935
|
allow_dirty_read: Optional[bool] = None,
|
|
936
936
|
ignore_revs: Optional[bool] = None,
|
|
937
|
-
) -> Result[
|
|
937
|
+
) -> Result[Jsons]:
|
|
938
938
|
"""Return multiple documents ignoring any missing ones.
|
|
939
939
|
|
|
940
940
|
Args:
|
|
@@ -977,10 +977,14 @@ class Collection(Generic[T, U, V]):
|
|
|
977
977
|
data=self._doc_serializer.dumps(documents),
|
|
978
978
|
)
|
|
979
979
|
|
|
980
|
-
def response_handler(resp: Response) ->
|
|
980
|
+
def response_handler(resp: Response) -> Jsons:
|
|
981
981
|
if not resp.is_success:
|
|
982
982
|
raise DocumentGetError(resp, request)
|
|
983
|
-
return
|
|
983
|
+
return [
|
|
984
|
+
doc
|
|
985
|
+
for doc in self.deserializer.loads_many(resp.raw_body)
|
|
986
|
+
if "_id" in doc
|
|
987
|
+
]
|
|
984
988
|
|
|
985
989
|
return await self._executor.execute(request, response_handler)
|
|
986
990
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.1.0"
|
|
@@ -40,7 +40,7 @@ dependencies = [
|
|
|
40
40
|
"packaging>=23.1",
|
|
41
41
|
"aiohttp>=3.9",
|
|
42
42
|
"multidict>=6.0",
|
|
43
|
-
"pyjwt>=2.
|
|
43
|
+
"pyjwt>=2.10.0",
|
|
44
44
|
]
|
|
45
45
|
|
|
46
46
|
[tool.setuptools.dynamic]
|
|
@@ -51,8 +51,8 @@ dev = [
|
|
|
51
51
|
"aiofiles>=24.1.0",
|
|
52
52
|
"black==26.1.0",
|
|
53
53
|
"flake8==7.3.0",
|
|
54
|
-
"isort>=5.10",
|
|
55
|
-
"mypy
|
|
54
|
+
"isort>=5.10.1",
|
|
55
|
+
"mypy==1.15.0",
|
|
56
56
|
"pre-commit>=3.7",
|
|
57
57
|
"pytest>=8.2",
|
|
58
58
|
"pytest-asyncio>=0.23.8",
|
|
@@ -92,5 +92,6 @@ profile = "black"
|
|
|
92
92
|
[tool.mypy]
|
|
93
93
|
warn_return_any = true
|
|
94
94
|
warn_unused_configs = true
|
|
95
|
+
warn_unused_ignores = false
|
|
95
96
|
ignore_missing_imports = true
|
|
96
97
|
strict = true
|
{python_arango_async-1.0.6 → python_arango_async-1.1.0}/python_arango_async.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-arango-async
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
Summary: Async Python Driver for ArangoDB
|
|
5
5
|
Author-email: Alexandru Petenchea <alexandru.petenchea@arangodb.com>, Anthony Mahanna <anthony.mahanna@arangodb.com>
|
|
6
6
|
Maintainer-email: Alexandru Petenchea <alexandru.petenchea@arangodb.com>, Anthony Mahanna <anthony.mahanna@arangodb.com>
|
|
@@ -23,13 +23,13 @@ License-File: LICENSE
|
|
|
23
23
|
Requires-Dist: packaging>=23.1
|
|
24
24
|
Requires-Dist: aiohttp>=3.9
|
|
25
25
|
Requires-Dist: multidict>=6.0
|
|
26
|
-
Requires-Dist: pyjwt>=2.
|
|
26
|
+
Requires-Dist: pyjwt>=2.10.0
|
|
27
27
|
Provides-Extra: dev
|
|
28
28
|
Requires-Dist: aiofiles>=24.1.0; extra == "dev"
|
|
29
29
|
Requires-Dist: black==26.1.0; extra == "dev"
|
|
30
30
|
Requires-Dist: flake8==7.3.0; extra == "dev"
|
|
31
|
-
Requires-Dist: isort>=5.10; extra == "dev"
|
|
32
|
-
Requires-Dist: mypy
|
|
31
|
+
Requires-Dist: isort>=5.10.1; extra == "dev"
|
|
32
|
+
Requires-Dist: mypy==1.15.0; extra == "dev"
|
|
33
33
|
Requires-Dist: pre-commit>=3.7; extra == "dev"
|
|
34
34
|
Requires-Dist: pytest>=8.2; extra == "dev"
|
|
35
35
|
Requires-Dist: pytest-asyncio>=0.23.8; extra == "dev"
|
{python_arango_async-1.0.6 → python_arango_async-1.1.0}/python_arango_async.egg-info/requires.txt
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
packaging>=23.1
|
|
2
2
|
aiohttp>=3.9
|
|
3
3
|
multidict>=6.0
|
|
4
|
-
pyjwt>=2.
|
|
4
|
+
pyjwt>=2.10.0
|
|
5
5
|
|
|
6
6
|
[dev]
|
|
7
7
|
aiofiles>=24.1.0
|
|
8
8
|
black==26.1.0
|
|
9
9
|
flake8==7.3.0
|
|
10
|
-
isort>=5.10
|
|
11
|
-
mypy
|
|
10
|
+
isort>=5.10.1
|
|
11
|
+
mypy==1.15.0
|
|
12
12
|
pre-commit>=3.7
|
|
13
13
|
pytest>=8.2
|
|
14
14
|
pytest-asyncio>=0.23.8
|
|
@@ -223,8 +223,8 @@ async def test_document_get_many(doc_col, bad_col, docs):
|
|
|
223
223
|
keys = [doc["_key"] for doc in docs]
|
|
224
224
|
keys.append("invalid_key")
|
|
225
225
|
many = await doc_col.get_many(keys)
|
|
226
|
-
assert len(many) == len(keys)
|
|
227
|
-
assert "error" in many[-1]
|
|
226
|
+
assert len(many) == len(keys) - 1
|
|
227
|
+
assert "error" not in many[-1]
|
|
228
228
|
|
|
229
229
|
# Test with full documents
|
|
230
230
|
many = await doc_col.get_many(docs)
|
|
@@ -237,8 +237,7 @@ async def test_document_get_many(doc_col, bad_col, docs):
|
|
|
237
237
|
assert len(many) == 1
|
|
238
238
|
assert "error" not in many[0]
|
|
239
239
|
many = await doc_col.get_many([bad_rev[0]], ignore_revs=False)
|
|
240
|
-
assert len(many) ==
|
|
241
|
-
assert "error" in many[0]
|
|
240
|
+
assert len(many) == 0
|
|
242
241
|
|
|
243
242
|
# Empty list
|
|
244
243
|
many = await doc_col.get_many([])
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.0.6"
|
|
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
|
{python_arango_async-1.0.6 → python_arango_async-1.1.0}/python_arango_async.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{python_arango_async-1.0.6 → python_arango_async-1.1.0}/python_arango_async.egg-info/top_level.txt
RENAMED
|
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
|