Skip to content

Commit

Permalink
add deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Nov 22, 2023
1 parent 5b48bdf commit 3238afb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arango/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,9 @@ def read_log(
:rtype: dict
: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)

params = dict()
if upto is not None:
params["upto"] = upto
Expand Down

0 comments on commit 3238afb

Please sign in to comment.