Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariana Barzinpour committed Sep 3, 2024
1 parent 8a53d07 commit f9ea5e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion odc/stac/_mdtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 2 additions & 1 deletion odc/stac/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand All @@ -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"""

Expand Down

0 comments on commit f9ea5e1

Please sign in to comment.