mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Bump SQLAlchemy to 2.0.24 (#106672)
This commit is contained in:
parent
e83aa86426
commit
6e98f72f8b
@ -7,7 +7,7 @@
|
|||||||
"iot_class": "local_push",
|
"iot_class": "local_push",
|
||||||
"quality_scale": "internal",
|
"quality_scale": "internal",
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"SQLAlchemy==2.0.23",
|
"SQLAlchemy==2.0.24",
|
||||||
"fnv-hash-fast==0.5.0",
|
"fnv-hash-fast==0.5.0",
|
||||||
"psutil-home-assistant==0.0.1"
|
"psutil-home-assistant==0.0.1"
|
||||||
]
|
]
|
||||||
|
@ -101,7 +101,7 @@ QUERY_STATISTICS_SHORT_TERM = (
|
|||||||
StatisticsShortTerm.sum,
|
StatisticsShortTerm.sum,
|
||||||
)
|
)
|
||||||
|
|
||||||
QUERY_STATISTICS_SUMMARY_MEAN = (
|
QUERY_STATISTICS_SUMMARY_MEAN = ( # type: ignore[var-annotated]
|
||||||
StatisticsShortTerm.metadata_id,
|
StatisticsShortTerm.metadata_id,
|
||||||
func.avg(StatisticsShortTerm.mean),
|
func.avg(StatisticsShortTerm.mean),
|
||||||
func.min(StatisticsShortTerm.min),
|
func.min(StatisticsShortTerm.min),
|
||||||
@ -115,7 +115,7 @@ QUERY_STATISTICS_SUMMARY_SUM = (
|
|||||||
StatisticsShortTerm.state,
|
StatisticsShortTerm.state,
|
||||||
StatisticsShortTerm.sum,
|
StatisticsShortTerm.sum,
|
||||||
func.row_number()
|
func.row_number()
|
||||||
.over( # type: ignore[no-untyped-call]
|
.over(
|
||||||
partition_by=StatisticsShortTerm.metadata_id,
|
partition_by=StatisticsShortTerm.metadata_id,
|
||||||
order_by=StatisticsShortTerm.start_ts.desc(),
|
order_by=StatisticsShortTerm.start_ts.desc(),
|
||||||
)
|
)
|
||||||
|
@ -5,5 +5,5 @@
|
|||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/sql",
|
"documentation": "https://www.home-assistant.io/integrations/sql",
|
||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"requirements": ["SQLAlchemy==2.0.23", "sqlparse==0.4.4"]
|
"requirements": ["SQLAlchemy==2.0.24", "sqlparse==0.4.4"]
|
||||||
}
|
}
|
||||||
|
@ -52,7 +52,7 @@ pyudev==0.23.2
|
|||||||
PyYAML==6.0.1
|
PyYAML==6.0.1
|
||||||
requests==2.31.0
|
requests==2.31.0
|
||||||
scapy==2.5.0
|
scapy==2.5.0
|
||||||
SQLAlchemy==2.0.23
|
SQLAlchemy==2.0.24
|
||||||
typing-extensions>=4.9.0,<5.0
|
typing-extensions>=4.9.0,<5.0
|
||||||
ulid-transform==0.9.0
|
ulid-transform==0.9.0
|
||||||
voluptuous-serialize==2.6.0
|
voluptuous-serialize==2.6.0
|
||||||
|
@ -128,7 +128,7 @@ RtmAPI==0.7.2
|
|||||||
|
|
||||||
# homeassistant.components.recorder
|
# homeassistant.components.recorder
|
||||||
# homeassistant.components.sql
|
# homeassistant.components.sql
|
||||||
SQLAlchemy==2.0.23
|
SQLAlchemy==2.0.24
|
||||||
|
|
||||||
# homeassistant.components.tami4
|
# homeassistant.components.tami4
|
||||||
Tami4EdgeAPI==2.1
|
Tami4EdgeAPI==2.1
|
||||||
|
@ -113,7 +113,7 @@ RtmAPI==0.7.2
|
|||||||
|
|
||||||
# homeassistant.components.recorder
|
# homeassistant.components.recorder
|
||||||
# homeassistant.components.sql
|
# homeassistant.components.sql
|
||||||
SQLAlchemy==2.0.23
|
SQLAlchemy==2.0.24
|
||||||
|
|
||||||
# homeassistant.components.tami4
|
# homeassistant.components.tami4
|
||||||
Tami4EdgeAPI==2.1
|
Tami4EdgeAPI==2.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user