Source code for platypush.message.event.zeroborg

from typing import Optional, Union

from platypush.message.event import Event


[docs] class ZeroborgEvent(Event): pass
[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)
[docs] class ZeroborgStopEvent(ZeroborgEvent): pass
# vim:sw=4:ts=4:et: