From f2f613405981ff81192cca11661b4935ff7db631 Mon Sep 17 00:00:00 2001 From: Anthony Mahanna Date: Tue, 17 Oct 2023 19:36:31 -0400 Subject: [PATCH] initial commit --- arango/graph.py | 4 ++-- tests/test_graph.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arango/graph.py b/arango/graph.py index 0933c72e..766cae92 100644 --- a/arango/graph.py +++ b/arango/graph.py @@ -107,9 +107,9 @@ def response_handler(resp: Response) -> bool: return self._execute(request, response_handler) def vertex_collections(self) -> Result[List[str]]: - """Return vertex collections in the graph that are not orphaned. + """Return vertex collections in the graph. - :return: Names of vertex collections that are not orphaned. + :return: Names of vertex collections in Edge Definitions and Orphan Collections. :rtype: [str] :raise arango.exceptions.VertexCollectionListError: If retrieval fails. """ diff --git a/tests/test_graph.py b/tests/test_graph.py index de440642..8ca4d0c2 100644 --- a/tests/test_graph.py +++ b/tests/test_graph.py @@ -330,6 +330,7 @@ def test_create_graph_with_edge_definition(db): orphan_collections=[ovcol_name], ) assert edge_definition in new_graph.edge_definitions() + assert ovcol_name in new_graph.vertex_collections() def test_vertex_management(fvcol, bad_fvcol, fvdocs):