diff --git a/packages/syft/src/syft/service/settings/settings.py b/packages/syft/src/syft/service/settings/settings.py index 2db395ce9e5..8898af36890 100644 --- a/packages/syft/src/syft/service/settings/settings.py +++ b/packages/syft/src/syft/service/settings/settings.py @@ -85,6 +85,7 @@ class NodeSettings(SyftObject): __repr_attrs__ = [ "name", "organization", + "description", "deployed_on", "signup_enabled", "admin_email", @@ -96,7 +97,7 @@ class NodeSettings(SyftObject): organization: str = "OpenMined" verify_key: SyftVerifyKey on_board: bool = True - description: str = "Text" + description: str = "This is the default description for a Domain Node." node_type: NodeType = NodeType.DOMAIN signup_enabled: bool admin_email: str @@ -119,6 +120,7 @@ def _repr_html_(self) -> Any:
Id: {self.id}
Name: {self.name}
Organization: {self.organization}
+Description: {self.description}
Deployed on: {self.deployed_on}
Signup enabled: {self.signup_enabled}
Admin email: {self.admin_email}
diff --git a/packages/syft/src/syft/service/settings/settings_service.py b/packages/syft/src/syft/service/settings/settings_service.py index 35ef9262860..f404c498662 100644 --- a/packages/syft/src/syft/service/settings/settings_service.py +++ b/packages/syft/src/syft/service/settings/settings_service.py @@ -353,6 +353,7 @@ def welcome_show( FONT_CSS=FONT_CSS, grid_symbol=load_png_base64("small-grid-symbol-logo.png"), domain_name=context.node.name, + description=context.node.metadata.description, # node_url='http://testing:8080', node_type=context.node.metadata.node_type.capitalize(), node_side_type=node_side_type, diff --git a/packages/syft/src/syft/util/schema.py b/packages/syft/src/syft/util/schema.py index cc0958eddda..859efa796b5 100644 --- a/packages/syft/src/syft/util/schema.py +++ b/packages/syft/src/syft/util/schema.py @@ -59,6 +59,7 @@