Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions arango/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down
1 change: 1 addition & 0 deletions tests/test_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down