diff --git a/packages/syft/src/syft/service/request/request.py b/packages/syft/src/syft/service/request/request.py
index 5d10f6cc75e..889491278e8 100644
--- a/packages/syft/src/syft/service/request/request.py
+++ b/packages/syft/src/syft/service/request/request.py
@@ -467,9 +467,9 @@ def _coll_repr_(self) -> dict[str, str | dict[str, str]]:
]
return {
- "Request time": str(self.request_time),
"Description": self.html_description,
"Requested By": "\n".join(user_data),
+ "Creation Time": str(self.request_time),
"Status": status_badge,
}
@@ -1220,18 +1220,19 @@ def nested_repr(self, node: Any | None = None, level: int = 0) -> str:
def __repr_syft_nested__(self) -> str:
msg = (
- f"Request to change {self.code.service_func_name} "
- f"(Pool Id: {self.code.worker_pool_name}) "
+ f"Request to change {self.code.service_func_name} "
+ f"(Pool Id: {self.code.worker_pool_name}) "
)
- msg += "to permission RequestStatus.APPROVED."
- if self.nested_solved:
- if self.link.nested_codes == {}: # type: ignore
- msg += "No nested requests."
- else:
+ msg += "to permission RequestStatus.APPROVED."
+ if self.code.nested_codes is None or self.code.nested_codes == {}: # type: ignore
+ msg += " No nested requests"
+ else:
+ if self.nested_solved:
+ # else:
msg += "
This change requests the following nested functions calls:
"
msg += self.nested_repr()
- else:
- msg += "Nested Requests not resolved."
+ else:
+ msg += " Nested Requests not resolved"
return msg
def _repr_markdown_(self, wrap_as_python: bool = True, indent: int = 0) -> str: