kevinjqliu commented on PR #1747: URL: https://github.com/apache/iceberg-python/pull/1747#issuecomment-2798377068
Thanks for chiming in @hussein-awala @mnzpk Please take a look at the new implementation. The context manager (`__enter__` & `__exit__`) now manages the underlying `_transport`. The `_transport` will be closed on exit and re-initialized on enter. I removed the explicit call to`self._transport.open()`, but i can add it back after the re-initialization if necessary. @mnzpk could you give this a try? -- 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