If I have a comm.py file in the main path, import solara will fail
Version
1.30.0, installed by pip
Reproduce step
touch comm.py
python3 -c "import solara"
Error:
$ python3 -c "import solara"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/danny/.local/lib/python3.8/site-packages/solara/__init__.py", line 7, in <module>
from . import comm # noqa: F401
File "/home/danny/.local/lib/python3.8/site-packages/solara/comm.py", line 12, in <module>
if comm is not None and comm.create_comm is comm._create_comm:
AttributeError: module 'comm' has no attribute 'create_comm'
If I remove the comm.py, import is fine. Is this an expected behavior? If not I can help raising PR if needed lmk tysm
If I have a
comm.py
file in the main path,import solara
will failVersion
Reproduce step
Error:
If I remove the comm.py, import is fine. Is this an expected behavior? If not I can help raising PR if needed lmk tysm