platypush/platypush/message
Fabio Manganiello 6b20c2083b
🐛 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-04-24 00:18:30 +02:00
..
event 🐛 The `EventMatchResult` object shouldn't be initialized with `args` from the event. 2024-04-24 00:18:30 +02:00
request [#366] Context variables should be dynamically assigned through `locals()` instead of `exec()`. 2024-02-26 21:29:35 +01:00
response [#349] Refactored/rewritten `telegram` plugin. 2024-03-03 15:39:47 +01:00
__init__.py Several improvements for request/procedure execution. 2024-01-04 13:13:16 +01:00