platypush/examples/config
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
..
config.yaml Updated default config.yaml. 2023-09-04 02:22:46 +02:00
dashboard.xml Updated default config.yaml. 2023-09-04 02:22:46 +02:00
hook.py [#400] Dynamic logic to infer procedures/hooks arguments. 2024-05-19 02:17:42 +02:00