Guillem96 commented on PR #6805: URL: https://github.com/apache/iceberg/pull/6805#issuecomment-1427479240
@Fokko If you require python 3.11 I don't see the reason to be compatible with `typing_extensions`, but anyways your `TypeVar` usage is wrong, because there's no need for the class to be a generic if you can leverage the method definition to bound the `TypeVar` type. I implemented properly use of `TypeVar` in this new PR #6819. With this implementation the type analyzer successfully keeps the `TableScan` type in the fluent calls of `select`, `filter`, etc.. -- 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