Skip to content

Commit 113cbc6

Browse files
committed
Proper deprecation of RepoPlugin class (Fix for Sidekick)
1 parent 51b5263 commit 113cbc6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

python/pluginmanager.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,12 @@ def last_update(self) -> date:
284284
return datetime.fromtimestamp(core.BNPluginGetLastUpdate(self.handle))
285285

286286

287+
@deprecation.deprecated(deprecated_in="5.3", details='Use :py:class:`binaryninja.Extension` instead.')
288+
class RepoPlugin(Extension):
289+
def __init__(self, handle: 'core.BNRepoPluginHandle'):
290+
super().__init__(handle)
291+
292+
287293
class Repository:
288294
"""
289295
``Repository`` is a read-only class. Use RepositoryManager to Enable/Disable/Install/Uninstall plugins.

0 commit comments

Comments
 (0)