Skip to content

Commit

Permalink
fix node metadata json, add default to signup enabled and admin email…
Browse files Browse the repository at this point in the history
… fields
  • Loading branch information
shubham3121 committed Nov 2, 2023
1 parent 390a890 commit 11b89d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/syft/src/syft/service/metadata/node_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ class NodeMetadata(SyftObject):
organization: str = "OpenMined"
on_board: bool = False
description: str = "Text"
signup_enabled: bool = False
admin_email: str = ""
signup_enabled: bool
admin_email: str
node_side_type: str
show_warnings: bool

Expand Down Expand Up @@ -158,8 +158,8 @@ class NodeMetadataJSON(BaseModel, StorableObjectType):
node_type: str = NodeType.DOMAIN.value
organization: str = "OpenMined"
description: str = "My cool domain"
signup_enabled: Optional[bool]
admin_email: Optional[str]
signup_enabled: bool = False
admin_email: str = ""
node_side_type: str
show_warnings: bool
supported_protocols: List = []
Expand Down

0 comments on commit 11b89d8

Please sign in to comment.