mirror of
https://github.com/home-assistant/core.git
synced 2026-05-18 22:40:15 +01:00
d766aae436
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
16 lines
336 B
Python
16 lines
336 B
Python
"""The sql integration models."""
|
|
|
|
from dataclasses import dataclass
|
|
|
|
from sqlalchemy.orm import scoped_session
|
|
|
|
from homeassistant.core import CALLBACK_TYPE
|
|
|
|
|
|
@dataclass(slots=True)
|
|
class SQLData:
|
|
"""Data for the sql integration."""
|
|
|
|
shutdown_event_cancel: CALLBACK_TYPE
|
|
session_makers_by_db_url: dict[str, scoped_session]
|