Skip to content

Commit

Permalink
Merge branch 'dev' into yash/collector
Browse files Browse the repository at this point in the history
  • Loading branch information
yashgorana authored Sep 24, 2024
2 parents 4f060e5 + 3ace0ad commit df016d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/syft/src/syft/service/request/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,9 @@ def get_status(self, context: AuthedServiceContext | None = None) -> RequestStat
)
if is_l0_deployment:
code_status = (
self.code.get_status(context) if context else self.code.status
self.code.get_status(context).unwrap()
if context
else self.code.status
)
return RequestStatus.from_usercode_status(code_status, context)
except Exception: # nosec
Expand Down

0 comments on commit df016d6

Please sign in to comment.