From 4f8c8720c2c27e7c5df529c9b0cb2b3ad364fb67 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Tue, 25 Apr 2023 13:01:36 -0400 Subject: Fix deprecation warning formatting in docs, require deprecated_in parameter --- python/enterprise.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/enterprise.py') diff --git a/python/enterprise.py b/python/enterprise.py index c6c047c3..7d4cc4aa 100644 --- a/python/enterprise.py +++ b/python/enterprise.py @@ -234,7 +234,7 @@ def update_license(duration, _cache=True): if not core.BNUpdateEnterpriseServerLicense(duration): raise RuntimeError(last_error()) -@deprecation.deprecated(details="Use .update_license instead.") +@deprecation.deprecated(deprecated_in="3.4.4137", details="Use .update_license instead.") def acquire_license(duration, _cache=True): """ Function deprecated. Use update_license instead. -- cgit v1.3.1