mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-29 02:31:00 +00:00
More permissive nodeinfo schema
This commit is contained in:
parent
936bb81b45
commit
2da399db42
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue