Skip to content

Commit

Permalink
Merge branch 'main' into patch/update-base-model-for-Asset
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago authored May 20, 2024
2 parents 108b5aa + 5951230 commit dd7b725
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- Better **datetime** parsing/validation by using Pydantic native types and remove `ciso8601` requirement (#131, @eseglem)
- move datetime validation in `StacCommonMetadata` model definition (#131, @eseglem)
- use `StacBaseModel` as base model for `Asset` model (#148, @vincentsarago)
- add `license` in `StacCommonMetadata` model (#147, @vincentsarago)

3.0.0 (2024-01-25)
------------------
Expand Down
2 changes: 2 additions & 0 deletions stac_pydantic/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ class StacCommonMetadata(StacBaseModel):
# Date and Time Range
start_datetime: Optional[UtcDatetime] = None
end_datetime: Optional[UtcDatetime] = None
# Licensing
license: Optional[str] = None
# Provider
providers: Optional[List[Provider]] = None
# Instrument
Expand Down

0 comments on commit dd7b725

Please sign in to comment.