python-arango 8.1.1__tar.gz → 8.1.2__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.1 → python_arango-8.1.2}/PKG-INFO +1 -1
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/database.py +11 -1
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/formatter.py +2 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/python_arango.egg-info/PKG-INFO +1 -1
- {python_arango-8.1.1 → python_arango-8.1.2}/.circleci/config.yml +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/.github/workflows/codeql.yaml +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/.github/workflows/docs.yaml +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/.github/workflows/pypi.yaml +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/.gitignore +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/.pre-commit-config.yaml +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/.readthedocs.yaml +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/CONTRIBUTING.md +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/LICENSE +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/MANIFEST.in +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/README.md +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/__init__.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/api.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/aql.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/backup.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/client.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/cluster.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/collection.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/connection.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/cursor.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/errno.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/exceptions.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/executor.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/foxx.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/graph.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/http.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/job.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/pregel.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/py.typed +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/replication.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/request.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/resolver.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/response.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/result.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/typings.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/utils.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/arango/wal.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/Makefile +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/admin.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/analyzer.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/aql.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/async.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/auth.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/backup.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/batch.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/certificates.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/cluster.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/collection.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/compression.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/conf.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/contributing.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/cursor.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/database.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/document.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/errno.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/errors.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/foxx.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/graph.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/http.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/index.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/indexes.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/logging.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/make.bat +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/overload.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/overview.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/pregel.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/replication.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/requirements.txt +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/schema.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/serializer.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/simple.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/specs.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/static/logo.png +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/task.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/threading.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/transaction.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/user.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/view.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/docs/wal.rst +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/pyproject.toml +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/python_arango.egg-info/SOURCES.txt +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/python_arango.egg-info/dependency_links.txt +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/python_arango.egg-info/requires.txt +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/python_arango.egg-info/top_level.txt +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/setup.cfg +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/setup.py +0 -0
- {python_arango-8.1.1 → python_arango-8.1.2}/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.2
|
|
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>
|
|
@@ -1697,6 +1697,7 @@ class Database(ApiGroup):
|
|
|
1697
1697
|
shard_count: Optional[int] = None,
|
|
1698
1698
|
replication_factor: Optional[int] = None,
|
|
1699
1699
|
write_concern: Optional[int] = None,
|
|
1700
|
+
satellite_collections: Optional[Sequence[str]] = None,
|
|
1700
1701
|
) -> Result[Graph]:
|
|
1701
1702
|
"""Create a new graph.
|
|
1702
1703
|
|
|
@@ -1721,7 +1722,8 @@ class Database(ApiGroup):
|
|
|
1721
1722
|
:param smart_field: Document field used to shard the vertices of the
|
|
1722
1723
|
graph. To use this, parameter **smart** must be set to True and
|
|
1723
1724
|
every vertex in the graph must have the smart field. Applies only
|
|
1724
|
-
to enterprise version of ArangoDB.
|
|
1725
|
+
to enterprise version of ArangoDB. NOTE: If this field is
|
|
1726
|
+
None and **smart** is True, an Enterprise Graph will be created.
|
|
1725
1727
|
:type smart_field: str | None
|
|
1726
1728
|
:param shard_count: Number of shards used for every collection in the
|
|
1727
1729
|
graph. To use this, parameter **smart** must be set to True and
|
|
@@ -1744,6 +1746,12 @@ class Database(ApiGroup):
|
|
|
1744
1746
|
parameter cannot be larger than that of **replication_factor**.
|
|
1745
1747
|
Default value is 1. Used for clusters only.
|
|
1746
1748
|
:type write_concern: int
|
|
1749
|
+
:param satellite_collections: An array of collection names that is
|
|
1750
|
+
used to create SatelliteCollections for a (Disjoint) SmartGraph
|
|
1751
|
+
using SatelliteCollections (Enterprise Edition only). Each array
|
|
1752
|
+
element must be a string and a valid collection name. The
|
|
1753
|
+
collection type cannot be modified later.
|
|
1754
|
+
:type satellite_collections: [str] | None
|
|
1747
1755
|
:return: Graph API wrapper.
|
|
1748
1756
|
:rtype: arango.graph.Graph
|
|
1749
1757
|
:raise arango.exceptions.GraphCreateError: If create fails.
|
|
@@ -1784,6 +1792,8 @@ class Database(ApiGroup):
|
|
|
1784
1792
|
data["options"]["replicationFactor"] = replication_factor
|
|
1785
1793
|
if write_concern is not None: # pragma: no cover
|
|
1786
1794
|
data["options"]["writeConcern"] = write_concern
|
|
1795
|
+
if satellite_collections is not None: # pragma: no cover
|
|
1796
|
+
data["options"]["satellites"] = satellite_collections
|
|
1787
1797
|
|
|
1788
1798
|
request = Request(method="post", endpoint="/_api/gharial", data=data)
|
|
1789
1799
|
|
|
@@ -1261,6 +1261,8 @@ def format_graph_properties(body: Json) -> Json:
|
|
|
1261
1261
|
}
|
|
1262
1262
|
if "isSmart" in body:
|
|
1263
1263
|
result["smart"] = body["isSmart"]
|
|
1264
|
+
if "isDisjoint" in body:
|
|
1265
|
+
result["disjoint"] = body["isDisjoint"]
|
|
1264
1266
|
if "isSatellite" in body:
|
|
1265
1267
|
result["is_satellite"] = body["isSatellite"]
|
|
1266
1268
|
if "smartGraphAttribute" in body:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-arango
|
|
3
|
-
Version: 8.1.
|
|
3
|
+
Version: 8.1.2
|
|
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>
|
|
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
|
|
File without changes
|
|
File without changes
|