Upgrade SQLAlchemy to 2.0.2 (#86436)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
93dafefd96
commit
94519de8dd
37 changed files with 583 additions and 430 deletions
|
@ -82,7 +82,7 @@ class EventAsRow:
|
|||
|
||||
|
||||
@callback
|
||||
def async_event_to_row(event: Event) -> EventAsRow | None:
|
||||
def async_event_to_row(event: Event) -> EventAsRow:
|
||||
"""Convert an event to a row."""
|
||||
if event.event_type != EVENT_STATE_CHANGED:
|
||||
return EventAsRow(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue