From 3c28d7e6eaa84041ec0fe5352a618759c13e6cb3 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Mon, 8 Apr 2024 14:13:16 -0400 Subject: Move collaboration to core --- python/collaboration/compatibility.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 python/collaboration/compatibility.py (limited to 'python/collaboration/compatibility.py') 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) -- cgit v1.3.1