Skip to content

Commit

Permalink
Fix fxn.predictions.stream
Browse files Browse the repository at this point in the history
  • Loading branch information
olokobayusuf committed Apr 9, 2024
1 parent 17b6463 commit c70a8c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## 0.0.34
*INCOMPLETE*
+ Fixed `fxn` import error caused by `fxn.predictions.stream` function.

## 0.0.33
+ Fixed error in `fxn.predictors.retrieve` function.
Expand Down
3 changes: 2 additions & 1 deletion fxn/services/prediction/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ async def stream (
prediction = self.__parse_prediction(prediction, raw_outputs=raw_outputs, return_binary_path=return_binary_path)
# Check edge prediction
if prediction.type != PredictorType.Edge or raw_outputs:
return prediction
yield prediction
continue
# Load edge predictor
predictor = self.__load(prediction)
self.__cache[tag] = predictor
Expand Down

0 comments on commit c70a8c9

Please sign in to comment.