Merge remote-tracking branch 'origin/plugin_shadows' into plugin_shadows

pull/282/head
Andrew Mirsky 2025-08-07 19:03:38 -04:00
commit db72c13f2f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: A98E67635CDF2C39
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -49,7 +49,7 @@ class ShadowPlugin(BasePlugin[BrokerContext]):
super().__init__(context) super().__init__(context)
self._shadows: dict[DeviceID, dict[ShadowName, StateDocument]] = defaultdict(dict) self._shadows: dict[DeviceID, dict[ShadowName, StateDocument]] = defaultdict(dict)
self._engine = create_async_engine(f"{self.config.connection}") self._engine = create_async_engine(self.config.connection)
self._db_session_maker = async_sessionmaker(self._engine, expire_on_commit=False) self._db_session_maker = async_sessionmaker(self._engine, expire_on_commit=False)