forked from platypush/platypush
Expose run
on the base package level.
This enables a syntax like: ``` from platypush import run run('application.restart') ```
This commit is contained in:
parent
5e2973dd5f
commit
266ee3cadf
1 changed files with 2 additions and 0 deletions
|
@ -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',
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue