Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rework: single entrypoint
  • Loading branch information
tylanderson committed Dec 7, 2025
commit a0267df6517af87686031c631942d33b711aa400
24 changes: 12 additions & 12 deletions pystac/extensions/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from pystac.extensions.sar import SarExtension
from pystac.extensions.sat import SatExtension
from pystac.extensions.scientific import ScientificExtension
from pystac.extensions.storage import StorageRefsExtension, StorageSchemesExtension
from pystac.extensions.storage import StorageExtension
from pystac.extensions.table import TableExtension
from pystac.extensions.timestamps import TimestampsExtension
from pystac.extensions.version import BaseVersionExtension, VersionExtension
Expand Down Expand Up @@ -85,7 +85,7 @@
SarExtension.name: SarExtension,
SatExtension.name: SatExtension,
ScientificExtension.name: ScientificExtension,
StorageSchemesExtension.name: StorageSchemesExtension,
StorageExtension.name: StorageExtension,
TableExtension.name: TableExtension,
TimestampsExtension.name: TimestampsExtension,
VersionExtension.name: VersionExtension,
Expand Down Expand Up @@ -173,8 +173,8 @@ def sci(self) -> ScientificExtension[Collection]:
return ScientificExtension.ext(self.stac_object)

@property
def storage(self) -> StorageSchemesExtension[Collection]:
return StorageSchemesExtension.ext(self.stac_object)
def storage(self) -> StorageExtension[Collection]:
return StorageExtension.ext(self.stac_object)

@property
def table(self) -> TableExtension[Collection]:
Expand Down Expand Up @@ -269,8 +269,8 @@ def sci(self) -> ScientificExtension[Item]:
return ScientificExtension.ext(self.stac_object)

@property
def storage(self) -> StorageSchemesExtension[Item]:
return StorageSchemesExtension.ext(self.stac_object)
def storage(self) -> StorageExtension[Item]:
return StorageExtension.ext(self.stac_object)

@property
def table(self) -> TableExtension[Item]:
Expand Down Expand Up @@ -380,8 +380,8 @@ def sat(self) -> SatExtension[U]:
return SatExtension.ext(self.stac_object)

@property
def storage(self) -> StorageRefsExtension[U]:
return StorageRefsExtension.ext(self.stac_object)
def storage(self) -> StorageExtension[U]:
return StorageExtension.ext(self.stac_object)

@property
def table(self) -> TableExtension[U]:
Expand Down Expand Up @@ -437,8 +437,8 @@ def mlm(self) -> MLMExtension[ItemAssetDefinition]:
return MLMExtension.ext(self.stac_object)

@property
def storage(self) -> StorageRefsExtension[ItemAssetDefinition]:
return StorageRefsExtension.ext(self.stac_object)
def storage(self) -> StorageExtension[ItemAssetDefinition]:
return StorageExtension.ext(self.stac_object)


@dataclass
Expand All @@ -454,5 +454,5 @@ def file(self) -> FileExtension[Link]:
return FileExtension.ext(self.stac_object)

@property
def storage(self) -> StorageRefsExtension[Link]:
return StorageRefsExtension.ext(self.stac_object)
def storage(self) -> StorageExtension[Link]:
return StorageExtension.ext(self.stac_object)
Loading
Loading