platypush/platypush
Fabio Manganiello 32b8296244
[#400] Dynamic logic to infer procedures/hooks arguments.
This allows procedures and event hooks to have more flexible signatures.
Along the lines of:

```python
@when(SomeEvent)
def hook(event):
  ...

@when(SomeOtherEvent)
def hook2():
  ...
```

Instead of supporting only the full context spec:

```python
@when(SomeEvent)
def hook(event, **ctx):
  ...
```

Closes: #400
2024-05-19 02:17:42 +02:00
..
app Added --db CLI option and support for configuration over environment. 2024-04-05 02:54:45 +02:00
backend [#394] All manifest.yaml converted to manifest.json. 2024-05-17 02:21:57 +02: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 [#400] Dynamic logic to infer procedures/hooks arguments. 2024-05-19 02:17:42 +02:00
config [#394] Dynamically generate setup extras. 2024-05-17 02:21:57 +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 [#400] Dynamic logic to infer procedures/hooks arguments. 2024-05-19 02:17:42 +02:00
exceptions Added support for JWT token-based authentication 2021-02-12 22:43:34 +01:00
install [#397] Replaced bcrypt dependency with native hashlib logic. 2024-05-05 21:38:27 +02:00
message [#372] Removed Google Fit plugin. 2024-05-16 02:42:54 +02:00
migrations 🐛 Don't add the new password salt/iterations columns if already present. 2024-05-05 21:58:51 +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 [#394] Dynamically generate setup extras. 2024-05-17 02:21:57 +02: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 [#398] Removed custom Response objects from Tensorflow and response docs generation logic. 2024-05-15 09:55:58 +02:00
user [#397] Replaced bcrypt dependency with native hashlib logic. 2024-05-05 21:38:27 +02:00
utils [#394] Dynamically generate setup extras. 2024-05-17 02:21:57 +02:00
__init__.py [#399] Added @when decorator as an alias for @hook. 2024-05-08 21:58:58 +02: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-05-17 00:23:06 +00:00
logger.py Refactored structure of main application and startup scripts. 2023-07-23 23:12:36 +02:00