diff options
Diffstat (limited to 'python/collaboration/compatibility.py')
| -rw-r--r-- | python/collaboration/compatibility.py | 21 |
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) |
