From f0a43fa9b12a8f90c7b96310977d249f8a78ed0a Mon Sep 17 00:00:00 2001 From: teo Date: Tue, 24 Sep 2024 17:52:13 +0300 Subject: [PATCH] fix get status --- packages/syft/src/syft/service/request/request.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/syft/src/syft/service/request/request.py b/packages/syft/src/syft/service/request/request.py index 4382ce383c7..c898c73fde0 100644 --- a/packages/syft/src/syft/service/request/request.py +++ b/packages/syft/src/syft/service/request/request.py @@ -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