Status Update: 2022-08-03 #55
Replies: 4 comments 2 replies
-
Implement Python Node API #54Description of the APIThe Python API will consist of two principal methods: ProblemThe Python Node API requires an async threadpool as the communication Layer also known as the Middleware Layer returns an async Future stream. SolutionI solve this issue by adding a Those channels are then exposed synchronously to Python. This should not be cause for concern as channels are really fast. from dora import Node
node = Node()
(id, value) = node.next()
# or
for id, value in node:
...
node.send_output("input_id", data) |
Beta Was this translation helpful? Give feedback.
-
Implement runtime-provided periodic timer input for source operators #51The periodic timer inputs allows operators to periodically produce values. To use the new input types, operators specify an input that maps to The new dora timer nodes are visualized in the following way: flowchart TB
node_1[\node_1/]
logger[/logger\]
subgraph python-operator [node]
python-operator/op[op]
end
subgraph ___dora___ [dora]
subgraph ___timer_timer___ [timer]
dora/timer/secs/5[\secs/5/]
dora/timer/millis/100[\millis/100/]
end
end
python-operator/op -- counter as test --> logger
dora/timer/secs/5 -- tick --> logger
dora/timer/millis/100 -- dora_time --> python-operator/op
node_1 -- data --> python-operator/op
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Other changes |
Beta Was this translation helpful? Give feedback.
-
Status Update ! 😄
Beta Was this translation helpful? Give feedback.
All reactions