Skip to content

Commit 8c1ef8e

Browse files
committed
Changed warning
1 parent b6e74ca commit 8c1ef8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arango/collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,7 @@ def add_hash_index(
13341334
:rtype: dict
13351335
:raise arango.exceptions.IndexCreateError: If create fails.
13361336
"""
1337-
m = "add_hash_index is deprecated. Using add_index with {'type': 'persistent'} instead." # noqa: E501
1337+
m = "add_hash_index is deprecated. Using add_index with {'type': 'hash'} instead." # noqa: E501
13381338
warn(m, DeprecationWarning, stacklevel=2)
13391339

13401340
data: Json = {"type": "hash", "fields": fields}

0 commit comments

Comments
 (0)