Skip to content

Commit

Permalink
allow extra fields in links
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhealy1 committed May 10, 2024
1 parent 79248a2 commit 0a23402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stac_pydantic/links.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down

0 comments on commit 0a23402

Please sign in to comment.