Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…to HEAD
  • Loading branch information
vincentsarago committed May 20, 2024
2 parents 2aa30eb + b128135 commit 72d1ace
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
3.1.0 (TBD)
-----------------
- Allow extra fields in Links (#144, @jonhealy1)
- Remove the deprecated `Context` extension (#138, @vincentsarago)
- Rename `stac_pydantic.api.conformance.ConformanceClasses` to `stac_pydantic.api.conformance.Conformance`
- Update pre-commit configuration and switch to astral-sh/ruff for linter and formater
Expand Down
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 72d1ace

Please sign in to comment.