1
0
mirror of https://github.com/home-assistant/core.git synced 2025-07-24 05:37:44 +00:00

2 Commits

Author SHA1 Message Date
J. Nick Koston
f0c8c2a684
Adjust importlib helper to avoid leaking memory on re-raise () 2024-04-10 15:19:17 -10:00
J. Nick Koston
cfe14bca8f
Add a helper to import modules from the event loop ()
* Add a helper to import modules in the event loop

Replaces the one used for triggers with a more generic helper
that can be reused and uses a future to avoid importing concurrently

* Add a helper to import modules in the event loop

Replaces the one used for triggers with a more generic helper
that can be reused and uses a future to avoid importing concurrently

* coverage

* make sure we do not retry

* coverage
2024-03-14 00:26:33 -04:00