mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Fix profiler.lru_stats always throwing an exception (#111249)
Remove IntegrationMatcher as its now a slotted class and cannot be examined with the current methods (we also likely do not need to optimize it anymore) ``` File "/usr/src/homeassistant/homeassistant/components/profiler/__init__.py", line 201, in _lru_stats for maybe_lru in class_with_lru_attr.__dict__.values(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'IntegrationMatcher' object has no attribute '__dict__'. Did you mean: '__dir__'? ```
This commit is contained in:
parent
bccab1bad7
commit
93a76ab519
@ -45,7 +45,6 @@ _KNOWN_LRU_CLASSES = (
|
||||
"StatesMetaManager",
|
||||
"StateAttributesManager",
|
||||
"StatisticsMetaManager",
|
||||
"IntegrationMatcher",
|
||||
)
|
||||
|
||||
SERVICES = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user