platypush/platypush
Fabio Manganiello 4734909912 🐛 The EventMatchResult object shouldn't be initialized with args from the event.
If there's a good use-case for overriding `Event._matches_condition`
with a logic that also parses the event arguments, then those arguments
should be accessed directly from the event object, not from the match
result.

Initializing `EventMatchResult` with the arguments from the event means
that, if `EventMatchResult.parsed_args` are populated with custom
extracted arguments, then the upstream event arguments will also be
modified.

If the event is matched against multiple conditions, this will result in
the extracted tokens getting modified by each `matches_condition`
iteration.
2024-05-02 00:51:09 +00:00
..
app Added --db CLI option and support for configuration over environment. 2024-04-05 02:54:45 +02:00
backend [#304] Removed old Picovoice integrations 2024-05-02 00:51:09 +00:00
builder Removed typing.Final from some of the most commonly used modules. 2023-09-26 23:50:10 +02:00
bus Removed typing.Final from some of the most commonly used modules. 2023-09-26 23:50:10 +02:00
commands [assistant.picovoice] Sync between the speech and intent engines. 2024-05-02 00:51:09 +00:00
common Marshmallow has replaced field.default with field.dump_default. 2024-01-05 02:56:10 +01:00
config Added --db CLI option and support for configuration over environment. 2024-04-05 02:54:45 +02:00
context [#302] Merged pushbullet backend and plugin. 2024-01-09 23:46:07 +00:00
cron Added wait_stop method to the entities engine and cron scheduler. 2023-08-14 23:49:47 +02:00
entities [alarm] Added media_repeat configuration. 2023-12-18 13:46:45 +01:00
event Prevent duplicate hook runs. 2024-05-02 00:51:09 +00:00
exceptions Added support for JWT token-based authentication 2021-02-12 22:43:34 +01:00
install Reduced Docker images to a single layer. 2024-01-15 21:54:22 +01:00
message 🐛 The EventMatchResult object shouldn't be initialized with args from the event. 2024-05-02 00:51:09 +00:00
migrations Pass the configuration file used by the application to the Alembic process. 2023-08-19 13:23:20 +02:00
platydock Added Fedora to the available Docker base images. 2023-09-22 19:02:13 +02:00
platyvenv [platyvenv] Add the venv bin directory to the PATH. 2023-10-22 02:28:31 +02:00
plugins [tts.picovoice] A more robust logic for replacing unsupported characteres on the input. 2024-05-02 00:51:09 +00:00
procedure [#366] Context variables should be dynamically assigned through locals() instead of exec(). 2024-02-26 21:29:35 +01:00
process Removed typing-extensions dependency. 2023-09-18 14:05:39 +02:00
runner Ensure that the application always terminates on Ctrl+C. 2023-10-22 02:33:15 +02:00
schemas [WIP] music.mopidy refactor, initial backend rewrite. 2024-04-03 23:01:22 +00:00
user LINT/format fixes. 2023-04-25 10:36:27 +02:00
utils Prevent a potential recursion error in wait_for_either. 2024-05-02 00:51:09 +00:00
__init__.py Added more default imports under the platypush module root. 2024-05-02 00:51:09 +00:00
__main__.py The __main__ function should take no arguments. 2023-08-17 01:35:39 +02:00
cli.py Added --db CLI option and support for configuration over environment. 2024-04-05 02:54:45 +02:00
components.json.gz [Automatic] Updated components cache 2024-04-17 02:09:18 +00:00
logger.py Refactored structure of main application and startup scripts. 2023-07-23 23:12:36 +02:00