Skip to content

Commit

Permalink
Fix rebase glitch and update whats_new.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacemanPaul committed Feb 5, 2024
1 parent 645cb72 commit c44991b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion datacube/index/memory/_products.py
Expand Up @@ -36,7 +36,7 @@ def add(self, product: Product, allow_table_lock: bool = False) -> Product:
f'Metadata Type {product.name}'
)
else:
mdt = self.metadata_type_resource.get_by_name(product.metadata_type.name)
mdt = self._index.metadata_types.get_by_name(product.metadata_type.name)
if mdt is None:
_LOG.warning(f'Adding metadata_type "{product.metadata_type.name}" as it doesn\'t exist')
product.metadata_type = self._index.metadata_types.add(product.metadata_type,
Expand Down
1 change: 1 addition & 0 deletions docs/about/whats_new.rst
Expand Up @@ -31,6 +31,7 @@ v1.9.next
- EP13 API changes to metadata and product resources. (:pull:`1536`)
- Phase 1 of EP13 API changes to dataset resource - get_unsafe, get_derived, temporal_extent. (:pull:`1538`)
- Add product argument to spatial_extent method, as per EP13. (:pull:`1539`)
- Index driver API type hint cleanup. (:pull:`1540`)


v1.8.next
Expand Down

0 comments on commit c44991b

Please sign in to comment.