summaryrefslogtreecommitdiff
path: root/python/collaboration/compatibility.py
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2024-04-08 14:13:16 -0400
committerJosh Ferrell <josh@vector35.com>2024-05-13 15:06:53 -0400
commit3c28d7e6eaa84041ec0fe5352a618759c13e6cb3 (patch)
treed4115c3e663b30ea388c35add6e5fc7dbd835c11 /python/collaboration/compatibility.py
parent0ace079eb70b0c999914a1e95a3eb1324a3b19d8 (diff)
Move collaboration to core
Diffstat (limited to 'python/collaboration/compatibility.py')
-rw-r--r--python/collaboration/compatibility.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/python/collaboration/compatibility.py b/python/collaboration/compatibility.py
new file mode 100644
index 00000000..e723cd69
--- /dev/null
+++ b/python/collaboration/compatibility.py
@@ -0,0 +1,21 @@
+import warnings
+
+from .file import RemoteFile
+from .folder import RemoteFolder
+from .project import RemoteProject
+
+
+class File(RemoteFile):
+ def __init__(self, handle):
+ warnings.warn('Legacy class "File" will be removed in a future version. Please migrate to "binaryninja.collaboration.file.RemoteFile".')
+ super().__init__(handle)
+
+class Folder(RemoteFolder):
+ def __init__(self, handle):
+ warnings.warn('Legacy class "Folder" will be removed in a future version. Please migrate to "binaryninja.collaboration.folder.RemoteFolder".')
+ super().__init__(handle)
+
+class Project(RemoteProject):
+ def __init__(self, handle):
+ warnings.warn('Legacy class "Project" will be removed in a future version. Please migrate to "binaryninja.collaboration.project.RemoteProject".')
+ super().__init__(handle)