Expose run on the base package level.

This enables a syntax like:

```
from platypush import run

run('application.restart')
```
This commit is contained in:
Fabio Manganiello 2023-11-03 21:47:11 +01:00
parent 5e2973dd5f
commit 266ee3cadf

View file

@ -12,6 +12,7 @@ from .message.event import Event
from .message.request import Request
from .message.response import Response
from .runner import main
from .utils import run
__author__ = 'Fabio Manganiello <fabio@manganiello.tech>'
@ -26,6 +27,7 @@ __all__ = [
'get_bus',
'get_plugin',
'main',
'run',
]