Skip to content

Commit

Permalink
add deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjqliu committed Nov 7, 2024
1 parent db67188 commit 958edd9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pyiceberg/catalog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 958edd9

Please sign in to comment.