Skip to content

Commit

Permalink
Remove user-defined itemIdentifier properly
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Dec 28, 2023
1 parent 17e61ab commit fcf06fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ogc/bblocks/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def __init__(self, identifier: str, metadata_file: Path,
except Exception as e:
raise BuildingBlockError('Error validating building block metadata') from e

self.metadata.pop('itemIdentifier', None)
self.metadata: dict[str, Any] = {
'itemIdentifier': identifier,
**self.metadata,
Expand Down

0 comments on commit fcf06fb

Please sign in to comment.