mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix stale docstring in recorder queries (#120763)
This commit is contained in:
parent
a6454cf3c7
commit
b03c10647e
@ -594,7 +594,7 @@ def delete_statistics_short_term_rows(
|
|||||||
def delete_event_rows(
|
def delete_event_rows(
|
||||||
event_ids: Iterable[int],
|
event_ids: Iterable[int],
|
||||||
) -> StatementLambdaElement:
|
) -> StatementLambdaElement:
|
||||||
"""Delete statistics_short_term rows."""
|
"""Delete event rows."""
|
||||||
return lambda_stmt(
|
return lambda_stmt(
|
||||||
lambda: delete(Events)
|
lambda: delete(Events)
|
||||||
.where(Events.event_id.in_(event_ids))
|
.where(Events.event_id.in_(event_ids))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user