From dd7383a1bb541ebfe2a2723ae7fd82ee212ddb2c Mon Sep 17 00:00:00 2001 From: Anthony Mahanna Date: Wed, 22 Nov 2023 13:54:45 -0500 Subject: [PATCH] bump stacklevel --- arango/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arango/database.py b/arango/database.py index 168e6122..e33bd5ae 100644 --- a/arango/database.py +++ b/arango/database.py @@ -646,7 +646,7 @@ def read_log( :raise arango.exceptions.ServerReadLogError: If read fails. """ m = "read_log() is deprecated in ArangoDB 3.8 and will be removed in a future version of the driver. Use read_log_entries() instead." # noqa: E501 - warn(m, DeprecationWarning, stacklevel=1) + warn(m, DeprecationWarning, stacklevel=2) params = dict() if upto is not None: