diff --git a/pyiceberg/catalog/__init__.py b/pyiceberg/catalog/__init__.py index f5050d26b4..b189b4094d 100644 --- a/pyiceberg/catalog/__init__.py +++ b/pyiceberg/catalog/__init__.py @@ -781,6 +781,13 @@ class MetastoreCatalog(Catalog, ABC): def __init__(self, name: str, **properties: str): super().__init__(name, **properties) + if self.properties.get(DEPRECATED_BOTOCORE_SESSION): + deprecation_message( + deprecated_in="0.8.0", + removed_in="0.9.0", + help_message=f"The property {DEPRECATED_BOTOCORE_SESSION} is deprecated and will be removed.", + ) + def create_table_transaction( self, identifier: Union[str, Identifier],