summaryrefslogtreecommitdiff
path: root/python/enterprise.py
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2023-04-25 13:01:36 -0400
committerJosh Ferrell <josh@vector35.com>2023-04-25 13:01:36 -0400
commit4f8c8720c2c27e7c5df529c9b0cb2b3ad364fb67 (patch)
tree145db738d9cf64c5770f1801660fe31cf24c3faa /python/enterprise.py
parent8c3e3cf501d42c6abcabb5d3891c804dcfd8de86 (diff)
Fix deprecation warning formatting in docs, require deprecated_in parameter
Diffstat (limited to 'python/enterprise.py')
-rw-r--r--python/enterprise.py2
1 files changed, 1 insertions, 1 deletions
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.