samredai opened a new pull request, #5360: URL: https://github.com/apache/iceberg/pull/5360
This is a PR to replace all of the `base.py` by either moving the contents into `__init__.py` or renaming them to something more meaningful. As an example, the contents of `pyiceberg/io/base.py` has been moved to `pyiceberg/io/__init__.py`: ```py from pyiceberg import io dir(io) # ['ABC', 'FileIO', 'InputFile', 'InputStream', 'OutputFile', 'OutputStream', 'Protocol', 'SEEK_SET', 'Union', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'abstractmethod', 'runtime_checkable'] ``` To avoid circular imports in the expression sub-module, `base.py` was renamed `expression.py` and the public API is exposed via `__all__ = [...]` defined in the `__init__.py` for the expression module. -- 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]
