platypush/platypush/common
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
..
gstreamer Better documentation for the Redis server + LINT fixes. 2023-08-02 22:17:11 +02:00
reflection [#394] Dynamically generate setup extras. 2024-05-17 02:21:57 +02:00
spotify Added music.spotify UI integration 2021-07-20 01:35:21 +02:00
__init__.py [#400] Dynamic logic to infer procedures/hooks arguments. 2024-05-19 02:17:42 +02:00
_types.py Added wait_stop and shoud_stop methods to StoppableThread. 2023-03-24 16:05:18 +01:00
cmd_stream.py [Shell plugin] Added support for async output over websockets. 2023-10-18 03:00:51 +02:00
db.py New API to check if a table class exists before defining it. 2023-10-09 01:33:44 +02:00
sensors.py Added common.sensors package. 2023-03-31 22:50:47 +02:00