File size: 723 Bytes
b98ffbb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
""" 
# dora-rs
This is the dora python client for interacting with dora dataflow.
You can install it via:
```bash
pip install dora-rs
```
"""

from enum import Enum

from .dora import *

from .dora import (
    Node,
    PyEvent,
    Ros2Context,
    Ros2Node,
    Ros2NodeOptions,
    Ros2Topic,
    Ros2Publisher,
    Ros2Subscription,
    start_runtime,
    __version__,
    __author__,
    Ros2QosPolicies,
    Ros2Durability,
    Ros2Liveliness,
)


class DoraStatus(Enum):
    """Dora status to indicate if operator `on_input` loop
     should be stopped.
    Args:
        Enum (u8): Status signaling to dora operator to
        stop or continue the operator.
    """

    CONTINUE = 0
    STOP = 1
    STOP_ALL = 2