platypush/platypush/utils
Fabio Manganiello 6f8816d23d Prevent a potential recursion error in `wait_for_either`.
We shouldn't overwrite `event._set` and `event._clear` if those values
have already been set.

Those attributes hold the original references to `Event.set` and
`Event.clear` respectively, and the `OrEvent` logic overwrites them with
a callback-based logic.

This shouldn't happen if those attributes are already present.
2024-05-02 00:51:09 +00:00
..
mock `picovoice` -> `assistant.picovoice` 2024-05-02 00:51:09 +00:00
__init__.py [WIP] Added streaming support to camera.pi using new picamera2 API 2024-02-22 22:52:52 +01:00
manifest.py New components cache management. 2024-01-06 22:21:59 +01:00
media.py Enhanced `get_default_media_plugin` to filter by video/audio plugins. 2023-12-10 21:50:53 +01:00
ngrok.py Create application ngrok tunnel method moved to utils 2021-11-07 11:35:47 +01:00
threads.py Prevent a potential recursion error in `wait_for_either`. 2024-05-02 00:51:09 +00:00
workers.py Reimplemented workers as threads instead of processes 2019-12-29 23:18:58 +01:00