Skip to content

Commit

Permalink
Merge pull request #4715 from voxel51/bug/delegated-output
Browse files Browse the repository at this point in the history
Delegated outputs may be None
  • Loading branch information
brimoor authored Aug 22, 2024
2 parents da64dfe + b87b70e commit fb1fc50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fiftyone/operators/delegated.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,8 @@ async def _execute_operator(self, doc):
outputs = await resolve_type_with_context(
request_params, "outputs"
)
outputs_schema = outputs.to_json()
if outputs is not None:
outputs_schema = outputs.to_json()
except (AttributeError, Exception):
logger.warning(
"Failed to resolve output schema for the operation."
Expand Down

0 comments on commit fb1fc50

Please sign in to comment.