mirror of
https://github.com/hansjone/netx.git
synced 2026-10-08 23:33:21 +08:00
Fix UME alarm WSS startup NameError for SessionLocal.
Import SessionLocal in ume_alarm_ws_subscription so load_persisted_subscription works at process boot. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
00926196f0
commit
54747d9afb
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ from sqlalchemy.orm import Session
|
|||
|
||||
from . import ume_alarm_ws_state as ws_state
|
||||
from .config import settings
|
||||
from .db import SessionLocal
|
||||
from .ume_alarm_subscription_store import (
|
||||
DEFAULT_SUBSCRIPTION_KEY,
|
||||
clear_subscription,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue