From 0a23402ef069c432ffca07b8f69a891a9e836298 Mon Sep 17 00:00:00 2001 From: jonhealy1 Date: Fri, 10 May 2024 22:24:58 +0800 Subject: [PATCH] allow extra fields in links --- stac_pydantic/links.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stac_pydantic/links.py b/stac_pydantic/links.py index e2ed603..0f62f30 100644 --- a/stac_pydantic/links.py +++ b/stac_pydantic/links.py @@ -20,7 +20,7 @@ class Link(StacBaseModel): # Label extension label: Optional[str] = Field(default=None, alias="label:assets") - model_config = ConfigDict(use_enum_values=True, extra="forbid") + model_config = ConfigDict(use_enum_values=True, extra="allow") def resolve(self, base_url: str) -> None: """resolve a link to the given base URL"""