More permissive nodeinfo schema

This commit is contained in:
Andrew Godwin 2023-01-03 10:31:11 -07:00
parent 936bb81b45
commit 2da399db42

View file

@ -26,7 +26,7 @@ class NodeInfo(BaseModel):
open_registrations: bool = Field(alias="openRegistrations") open_registrations: bool = Field(alias="openRegistrations")
usage: NodeInfoUsage usage: NodeInfoUsage
metadata: dict[str, Any] metadata: dict[str, Any] | None
class Config: class Config:
extra = "ignore" extra = "ignore"