You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by fo...@apache.org on 2025/01/21 10:35:56 UTC
(iceberg-python) 01/01: Remove deprecated methods from `catalog/__init__.py`
This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch fd-remove
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git
commit 0525a241e2d95cc69dd7a9531f7929788fa97adb
Author: Fokko Driesprong <fo...@apache.org>
AuthorDate: Tue Jan 21 11:35:49 2025 +0100
Remove deprecated methods from `catalog/__init__.py`
---
pyiceberg/catalog/__init__.py | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/pyiceberg/catalog/__init__.py b/pyiceberg/catalog/__init__.py
index aad225ea..790698c2 100644
--- a/pyiceberg/catalog/__init__.py
+++ b/pyiceberg/catalog/__init__.py
@@ -70,8 +70,6 @@ from pyiceberg.typedef import (
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
@@ -107,8 +105,6 @@ TABLE_METADATA_FILE_NAME_REGEX = re.compile(
re.X,
)
-DEPRECATED_BOTOCORE_SESSION = "botocore_session"
-
class CatalogType(Enum):
REST = "rest"
@@ -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],