From 4bd41c88e0290df2f58a9b47869fa74dd1f191e9 Mon Sep 17 00:00:00 2001 From: Rob Emanuele Date: Thu, 18 Mar 2021 21:42:02 -0400 Subject: [PATCH] collection-assets should be Dict --- stac_pydantic/extensions/collection_assets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stac_pydantic/extensions/collection_assets.py b/stac_pydantic/extensions/collection_assets.py index ff2ccca..5ab2ffa 100644 --- a/stac_pydantic/extensions/collection_assets.py +++ b/stac_pydantic/extensions/collection_assets.py @@ -1,4 +1,4 @@ -from typing import List +from typing import Dict from pydantic import BaseModel @@ -10,4 +10,4 @@ class CollectionAssetExtension(BaseModel): https://github.com/radiantearth/stac-spec/tree/v1.0.0-beta.1/extensions/collection-assets """ - assets: List[Asset] + assets: Dict[str, Asset]