Skip to content

Commit e14097b

Browse files
committed
revert type fix
1 parent 431bcb6 commit e14097b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyiceberg/catalog/hive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
class _HiveClient:
161161
"""Helper class to nicely open and close the transport."""
162162

163-
_transport: TTransport.TTransportBase
163+
_transport: TTransport
164164
_ugi: Optional[List[str]]
165165
_hive_version: HiveVersion = HiveVersion(4, 0, 0)
166166
_hms_v3: object
@@ -187,7 +187,7 @@ def _get_hive_version(self) -> HiveVersion:
187187
version = map(int, open_client.getVersion().split("."))
188188
return HiveVersion(*version)
189189

190-
def _init_thrift_transport(self) -> TTransport.TTransportBase:
190+
def _init_thrift_transport(self) -> TTransport:
191191
url_parts = urlparse(self._uri)
192192
if not url_parts.hostname or not url_parts.port:
193193
raise ValueError("hive hostname and port must be set")

0 commit comments

Comments
 (0)