From f80f8b6dde8de21e80b566d8c289f53b8a04bd75 Mon Sep 17 00:00:00 2001 From: Austin Schneider Date: Wed, 11 Sep 2024 22:43:25 -0600 Subject: [PATCH] Replace Injector with python wrapper --- python/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python/__init__.py b/python/__init__.py index 411d6aa37..c0a2760b7 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -8,6 +8,7 @@ from . import injection from . import _util +from . import Injector # Intropspect package version import sys @@ -28,6 +29,11 @@ utilities.load_detector = _util.load_detector utilities.load_processes = _util.load_processes +# Override the Injector with the python wrapper +injection._Injector = injection.Injector +injection.Injector = Injector.Injector +del Injector + def darknews_version(): try: import DarkNews