core/homeassistant/scripts
J. Nick Koston b09dd95dbd
Improve alignment of live logbook and historical logbook models (#123070)
* Improve alignment of live logbook and historical logbook models

- Make EventAsRow as NamedType which is better aligned with
  sqlalchemy Row
- Use getitem to fetch results for both Row and EventAsRow
  since its an order of magnitude faster fetching sqlalchemy
  Row object values.

* final

* fix

* unused

* fix more tests

* cleanup

* reduce

* tweak
2024-08-04 23:09:10 +02:00
..
benchmark Improve alignment of live logbook and historical logbook models (#123070) 2024-08-04 23:09:10 +02:00
macos Fix implicit-return in macos script (#122945) 2024-08-02 15:30:29 +02:00
__init__.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
auth.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
check_config.py Replace pylint broad-except with Ruff BLE001 (#116250) 2024-05-07 14:00:27 +02:00
ensure_config.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00