File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ class _AssetExt(_AssetsExt[U]):
357357 @property
358358 def archive (self ) -> ArchiveExtension [U ]:
359359 return ArchiveExtension .ext (self .stac_object )
360-
360+
361361 @property
362362 def classification (self ) -> ClassificationExtension [U ]:
363363 return ClassificationExtension .ext (self .stac_object )
Original file line number Diff line number Diff line change 1515
1616T = TypeVar ("T" , pystac .Asset , item_assets .AssetDefinition )
1717
18- SCHEMA_URI = (
19- "https://stac-extensions.github.io/archive/v1.0.0/schema.json"
20- )
18+ SCHEMA_URI = "https://stac-extensions.github.io/archive/v1.0.0/schema.json"
2119PREFIX : str = "archive:"
2220
2321# Field names
Original file line number Diff line number Diff line change 33import json
44import random
55from pathlib import Path
6- from typing import Any
76
87import pytest
98
109import pystac
11- from pystac .extensions .archive import ArchiveExtension
1210from pystac import Asset , Collection , Item
1311from pystac .errors import ExtensionTypeError
12+ from pystac .extensions .archive import ArchiveExtension
1413from pystac .extensions .eo import Band
1514from tests .utils import assert_to_from_dict
1615
1716DATA_FILES = Path (__file__ ).resolve ().parent / "data-files"
1817
18+
1919@pytest .fixture
2020def example_item_uri () -> str :
2121 return str (DATA_FILES / "example-Item.json" )
You can’t perform that action at this time.
0 commit comments