This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
dora-rs
/
dora
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
124
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Fix python operators: Also return a `DoraStatus` for non-input events
tags/v0.2.0-candidate
Philipp Oppermann
3 years ago
parent
706eb562f1
commit
acf4a1dc52
Failed to extract signature
2 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
examples/python-operator-dataflow/object_detection.py
+1
-0
examples/python-operator-dataflow/plot.py
+ 1
- 0
examples/python-operator-dataflow/object_detection.py
View File
@@ -29,6 +29,7 @@ class Operator:
) -> DoraStatus:
if dora_event["type"] == "INPUT":
return self.on_input(dora_event, send_output)
return DoraStatus.CONTINUE
def on_input(
self,
+ 1
- 0
examples/python-operator-dataflow/plot.py
View File
@@ -33,6 +33,7 @@ class Operator:
) -> DoraStatus:
if dora_event["type"] == "INPUT":
return self.on_input(dora_event, send_output)
return DoraStatus.CONTINUE
def on_input(
self,
Write
Preview
Loading…
Cancel
Save