Fokko commented on code in PR #6139: URL: https://github.com/apache/iceberg/pull/6139#discussion_r1020961425
########## python/pyiceberg/expressions/__init__.py: ########## @@ -48,12 +64,13 @@ class Bound(ABC): """Represents a bound value expression""" -class Unbound(Generic[B], ABC): +class Unbound(ABC): """Represents an unbound value expression""" + @property @abstractmethod - def bind(self, schema: Schema, case_sensitive: bool = True) -> B: - ... # pragma: no cover + def as_bound(self) -> Type[Bound]: Review Comment: I removed the `B` generic type in favor of OOP hierarchy. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org