diff --git a/packages/syft/src/syft/server/server.py b/packages/syft/src/syft/server/server.py index 9284f9fb4c0..b03e755f2b5 100644 --- a/packages/syft/src/syft/server/server.py +++ b/packages/syft/src/syft/server/server.py @@ -785,7 +785,9 @@ def get_guest_client(self, verbose: bool = True) -> SyftClient: def __repr__(self) -> str: service_string = "" if not self.is_subprocess: - services = [service.__name__ for service in self.initialized_services] + services = [ + service.__class__.__name__ for service in self.initialized_services + ] service_string = ", ".join(sorted(services)) service_string = f"\n\nServices:\n{service_string}" return f"{type(self).__name__}: {self.name} - {self.id} - {self.server_type}{service_string}"