summaryrefslogtreecommitdiff
path: root/python/enterprise.py
diff options
context:
space:
mode:
authorAlexander Taylor <alex@vector35.com>2022-05-12 15:05:18 -0400
committerAlexander Taylor <alex@vector35.com>2022-05-12 15:05:18 -0400
commit260890cc9d2bec3e64973e7c5d4350a75fae4d5a (patch)
treeb5e4fee20f2cc6d9e496eaa90df02a8b56f64eab /python/enterprise.py
parent55c8e81dbceb471ebd4fcff4e297092826525304 (diff)
Add notes for Enterprise edition-only module/class.
Diffstat (limited to 'python/enterprise.py')
-rw-r--r--python/enterprise.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/enterprise.py b/python/enterprise.py
index cc770326..b999bec6 100644
--- a/python/enterprise.py
+++ b/python/enterprise.py
@@ -1,3 +1,7 @@
+"""
+.. note: This module is only available in the Enterprise edition of Binary Ninja.
+"""
+
import ctypes
import os
from typing import Tuple, List, Optional
@@ -274,6 +278,7 @@ def is_initialized() -> bool:
return core.BNIsEnterpriseServerInitialized()
+@decorators.enterprise
class LicenseCheckout:
"""
Helper class for scripts to make use of a license checkout in a scope.