platypush/platypush/message
Fabio Manganiello 6feb824c04
Refactored `AssistantEvent`.
`AssistantEvent.assistant` is now modelled as an opaque object that
behaves the following way:

- The underlying plugin name is saved under `event.args['_assistant']`.

- `event.assistant` is a property that returns the assistant instance
  via `get_plugin`.

- `event.assistant` is reported as a string (plugin qualified name) upon
  event dump.

This allows event hooks to easily use `event.assistant` to interact with
the underlying assistant and easily modify the conversation flow, while
event hook conditions can still be easily modelled as equality
operations between strings.
2024-04-09 00:15:51 +02:00
..
event Refactored `AssistantEvent`. 2024-04-09 00:15:51 +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