From 2da399db421f29019450dad4822f443fc65d446b Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Tue, 3 Jan 2023 10:31:11 -0700 Subject: [PATCH] More permissive nodeinfo schema --- users/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/schemas.py b/users/schemas.py index 3dac21e..c4a32b0 100644 --- a/users/schemas.py +++ b/users/schemas.py @@ -26,7 +26,7 @@ class NodeInfo(BaseModel): open_registrations: bool = Field(alias="openRegistrations") usage: NodeInfoUsage - metadata: dict[str, Any] + metadata: dict[str, Any] | None class Config: extra = "ignore"