From 8c1ef8e84442dd1ed9a3020288b8c4c2147aebf0 Mon Sep 17 00:00:00 2001 From: Alex Petenchea Date: Wed, 29 May 2024 21:10:54 +0300 Subject: [PATCH] Changed warning --- arango/collection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arango/collection.py b/arango/collection.py index 992549a5..054b0a1e 100644 --- a/arango/collection.py +++ b/arango/collection.py @@ -1334,7 +1334,7 @@ def add_hash_index( :rtype: dict :raise arango.exceptions.IndexCreateError: If create fails. """ - m = "add_hash_index is deprecated. Using add_index with {'type': 'persistent'} instead." # noqa: E501 + m = "add_hash_index is deprecated. Using add_index with {'type': 'hash'} instead." # noqa: E501 warn(m, DeprecationWarning, stacklevel=2) data: Json = {"type": "hash", "fields": fields}