From f9ea5e194475229fe0f36ea4bdad0e3e6745c6ba Mon Sep 17 00:00:00 2001 From: Ariana Barzinpour Date: Tue, 3 Sep 2024 04:22:48 +0000 Subject: [PATCH] linting --- odc/stac/_mdtools.py | 2 +- odc/stac/model.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/odc/stac/_mdtools.py b/odc/stac/_mdtools.py index c1fe4e7..059b9d0 100644 --- a/odc/stac/_mdtools.py +++ b/odc/stac/_mdtools.py @@ -721,7 +721,7 @@ def _get_grid(grid_name: str, asset: pystac.asset.Asset) -> GeoBox: } for name in _acc_names } - + md = item.common_metadata return ParsedItem( item.id, diff --git a/odc/stac/model.py b/odc/stac/model.py index 746b9ba..8e63fe1 100644 --- a/odc/stac/model.py +++ b/odc/stac/model.py @@ -205,6 +205,7 @@ class ParsedItem(Mapping[BandIdentifier, RasterSource]): Only includes raster bands of interest. """ + # pylint: disable=too-many-instance-attributes id: str """Item id copied from STAC.""" @@ -226,7 +227,7 @@ class ParsedItem(Mapping[BandIdentifier, RasterSource]): href: Optional[str] = None """Self link from stac item.""" - + accessories: dict[str, Any] = field(default_factory=dict) """Additional assets"""