From d4d2da334b327dc3bd9b23e82eb76e303e75bcad Mon Sep 17 00:00:00 2001 From: Kay0u Date: Thu, 11 Apr 2024 21:16:10 +0200 Subject: [PATCH] the manager is not supposed to be null --- src/utils/resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/resources.py b/src/utils/resources.py index dfb6d48ed..2a5998317 100644 --- a/src/utils/resources.py +++ b/src/utils/resources.py @@ -143,7 +143,7 @@ class AppResource: type: str = "" default_properties: Dict[str, Any] = {} - def __init__(self, properties: Dict[str, Any], app: str, manager=None): + def __init__(self, properties: Dict[str, Any], app: str, manager: AppResourceManager): self.app = app self.manager = manager properties = self.default_properties | properties