Coverage for amqtt/plugins/persistence.py: 100%
7 statements
« prev ^ index » next coverage.py v7.8.2, created at 2025-08-12 14:35 +0000
« prev ^ index » next coverage.py v7.8.2, created at 2025-08-12 14:35 +0000
1import warnings
3from amqtt.broker import BrokerContext
4from amqtt.plugins.base import BasePlugin
7class SQLitePlugin(BasePlugin[BrokerContext]):
9 def __init__(self, context: BrokerContext) -> None:
10 super().__init__(context)
11 warnings.warn("SQLitePlugin is deprecated, use amqtt.contrib.persistence.SessionDBPlugin", stacklevel=1)