samredai commented on a change in pull request #4021:
URL: https://github.com/apache/iceberg/pull/4021#discussion_r801132738
##########
File path: python/src/iceberg/io/base.py
##########
@@ -26,6 +26,50 @@
from abc import ABC, abstractmethod
from typing import Union
+from typing_extensions import Protocol, runtime_checkable
Review comment:
That's a great catch, I updated this to:
```py
try:
from typing import Protocol, runtime_checkable
except ImportError: # pragma: no cover
from typing_extensions import Protocol # type: ignore
from typing_extensions import runtime_checkable
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]