dora-rs 0.3.4__cp37-abi3-macosx_11_0_arm64.whl → 0.3.5rc0__cp37-abi3-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of dora-rs might be problematic. Click here for more details.

dora/__init__.py CHANGED
@@ -13,7 +13,6 @@ from .dora import *
13
13
 
14
14
  from .dora import (
15
15
  Node,
16
- PyEvent,
17
16
  Ros2Context,
18
17
  Ros2Node,
19
18
  Ros2NodeOptions,
dora/__init__.pyi CHANGED
@@ -22,7 +22,7 @@ from dora import Node
22
22
  node = Node()
23
23
  ```"""
24
24
 
25
- def __init__(self) -> None:
25
+ def __init__(self, node_id: str=None) -> None:
26
26
  """The custom node API lets you integrate `dora` into your application.
27
27
  It allows you to retrieve input and send output in any fashion you want.
28
28
 
@@ -46,7 +46,7 @@ This method returns the parsed dataflow YAML file."""
46
46
  """Merge an external event stream with dora main loop.
47
47
  This currently only work with ROS2."""
48
48
 
49
- def next(self, timeout: float=None) -> dora.PyEvent:
49
+ def next(self, timeout: float=None) -> dict:
50
50
  """`.next()` gives you the next input that the node has received.
51
51
  It blocks until the next event becomes available.
52
52
  You can use timeout in seconds to return if no input is available.
@@ -88,15 +88,6 @@ node.send_output("string", b"string", {"open_telemetry_context": "7632e76"})
88
88
  def __next__(self) -> typing.Any:
89
89
  """Implement next(self)."""
90
90
 
91
- @typing.final
92
- class PyEvent:
93
- """Dora Event"""
94
-
95
- def inner(self):...
96
-
97
- def __getitem__(self, key: typing.Any) -> typing.Any:
98
- """Return self[key]."""
99
-
100
91
  @typing.final
101
92
  class Ros2Context:
102
93
  """ROS2 Context holding all messages definition for receiving and sending messages to ROS2.
@@ -274,7 +265,7 @@ at any point without it being considered a breaking change."""
274
265
  def publish(self, data: pyarrow.Array) -> None:
275
266
  """Publish a message into ROS2 topic.
276
267
 
277
- Remember that the data format should respect the structure of the ROS2 message usinng an arrow Structure.
268
+ Remember that the data format should respect the structure of the ROS2 message using an arrow Structure.
278
269
 
279
270
  ex:
280
271
  ```python
dora/dora.abi3.so CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: dora-rs
3
- Version: 0.3.4
3
+ Version: 0.3.5rc0
4
4
  Requires-Dist: pyarrow
5
5
  Summary: `dora` goal is to be a low latency, composable, and distributed data flow.
6
6
  License: Apache-2.0
@@ -0,0 +1,6 @@
1
+ dora_rs-0.3.5rc0.dist-info/METADATA,sha256=vgeEIARpp4dLZobt-eLZ3Voo7GD1ggps6ACfGioZ1XU,590
2
+ dora_rs-0.3.5rc0.dist-info/WHEEL,sha256=Vn7Y8op-PHMoWV3FQ2Wiehn4YzF8gP__jAx7rF9_dhA,102
3
+ dora/__init__.pyi,sha256=MZfafEGo1F_Al2RLrD36_cGRfFgOYY8Qa1_14bFYcf0,8342
4
+ dora/__init__.py,sha256=cmZ5rB848800jqu5QCP0kvipTpNHwhvknzVVrfWR5-Q,710
5
+ dora/dora.abi3.so,sha256=EEkBewW8Uw1VLf85zkz9NokYO2QVA0_uMdYB89ugFf0,20871360
6
+ dora_rs-0.3.5rc0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.5.1)
2
+ Generator: maturin (1.6.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp37-abi3-macosx_11_0_arm64
@@ -1,6 +0,0 @@
1
- dora_rs-0.3.4.dist-info/METADATA,sha256=wqJCZ2eNypjIQCQsVeDEIDpS__gEjczDjdCIEpq-lws,587
2
- dora_rs-0.3.4.dist-info/WHEEL,sha256=mr5kArZT1sHmSyQKqoXcetQKMw5B1J8SlpkwcrQCMKs,102
3
- dora/__init__.pyi,sha256=CoDJaMr1tKhA6hOo0Uhnr14gdK0cYrokXZ_LH43NBd0,8499
4
- dora/__init__.py,sha256=ahNFD4VpQ0OBOKmgfqz9ZFUvmroLHDVwYzpz2se9a0g,723
5
- dora/dora.abi3.so,sha256=KiJCdDkg4ipnhdJBjfHSMTG3XnEXq3I2Q7_994U59ew,20359648
6
- dora_rs-0.3.4.dist-info/RECORD,,