Skip to content

Commit

Permalink
Fix kwarg naming issue in generic_plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
cfirth-nasa committed Oct 13, 2023
1 parent 5a413a8 commit 0e95407
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion onair/src/reasoning/complex_reasoning_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, headers, _reasoning_plugins={}):

def update(self, high_level_data):
for plugin in self.reasoning_constructs:
plugin.update(high_level_data)
plugin.update(high_level_data=high_level_data)

def check_for_salient_event(self):
pass
Expand Down
2 changes: 1 addition & 1 deletion plugins/generic_plugin/generic_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def apriori_training(self,batch_data=[]):
"""
pass

def update(self,frame=[], high_level={}):
def update(self,low_level_data=[], high_level_data={}):
"""
Given streamed data point, system should update internally
"""
Expand Down

0 comments on commit 0e95407

Please sign in to comment.