You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding just an empty _init__.py at /lib/python3.11/site-packages/arro3/__init__.py, tab completion works:
In [1]: import arro3.io as arro3_io
In [2]: import arro3.compute as arro3_compute
In [3]: import arro3.core as arro3_core
In [4]: arro3.io.<TAB>
infer_csv_schema() read_csv() read_ipc_stream() read_parquet() store write_ipc() write_json() write_parquet()
infer_json_schema() read_ipc() read_json() read_parquet_async() write_csv() write_ipc_stream() write_ndjson()
It would be great if this file would exist by default, as without tab completion, it is very hard to discover the functions without looking at the documentation.
The text was updated successfully, but these errors were encountered:
It seems that this is a bug with how IPython handles namespace packages? If there's no __init__.py it should still look inside each directory, to see if the inner directory contains an __init__.py file.
Currently when installing the 3 arrow3 packages, the structure looks like this:
When importing the modules in ipython, tab completion is not working (to find the functions in each module
When importing them with an alias, tab completion works:
When adding just an empty
_init__.py
at/lib/python3.11/site-packages/arro3/__init__.py
, tab completion works:# Create empty file. $ touch /lib/python3.11/site-packages/arro3/__init__.py
It would be great if this file would exist by default, as without tab completion, it is very hard to discover the functions without looking at the documentation.
The text was updated successfully, but these errors were encountered: