Source code for platypush.message.event.zeroborg
from typing import Optional, Union
from platypush.message.event import Event
[docs]
class ZeroborgDriveEvent(ZeroborgEvent):
[docs]
def __init__(self, motors: Union[list, tuple], direction: Optional[str] = None, *args, **kwargs):
super().__init__(*args, motors=motors, direction=direction, **kwargs)
# vim:sw=4:ts=4:et: