Skip to content

Commit ba2d1dd

Browse files
authored
collection-assets should be Dict (#73)
1 parent f2a2cc2 commit ba2d1dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stac_pydantic/extensions/collection_assets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import List
1+
from typing import Dict
22

33
from pydantic import BaseModel
44

@@ -10,4 +10,4 @@ class CollectionAssetExtension(BaseModel):
1010
https://github.com/radiantearth/stac-spec/tree/v1.0.0-beta.1/extensions/collection-assets
1111
"""
1212

13-
assets: List[Asset]
13+
assets: Dict[str, Asset]

0 commit comments

Comments
 (0)