Skip to content

Commit

Permalink
Remove deprecated methods from catalog/__init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Fokko authored Jan 21, 2025
1 parent c84dd8d commit 0525a24
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions pyiceberg/catalog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@
RecursiveDict,
)
from pyiceberg.utils.config import Config, merge_config
from pyiceberg.utils.deprecated import deprecated as deprecated
from pyiceberg.utils.deprecated import deprecation_message

if TYPE_CHECKING:
import pyarrow as pa
Expand Down Expand Up @@ -107,8 +105,6 @@
re.X,
)

DEPRECATED_BOTOCORE_SESSION = "botocore_session"


class CatalogType(Enum):
REST = "rest"
Expand Down Expand Up @@ -744,13 +740,6 @@ 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 0525a24

Please sign in to comment.