the manager is not supposed to be null

This commit is contained in:
Kay0u 2024-04-11 21:16:10 +02:00
parent 7d0d82ae01
commit d4d2da334b
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -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