Function defined in __init__.py is unknown
sylvainmouquet opened this issue · comments
Sylvain MOUQUET commented
Hi,
A function f in __init__.py
is imported in the file conftest.py
by from tests import f
Pyright generates error : error: "f" is unknown import symbol (reportAttributeAccessIssue)
Eric Traut commented
You haven't provided enough information for me to help diagnose the issue.
If you think this is a bug in pyright, please submit a bug report that includes a minimal, self-contained code sample and repro steps.
Based on the symptoms you've described, this is unlikely to be a bug in pyright, but I'm happy to help you diagnose the issue if you'd like to provide more details. I'm closing the issue in the meantime because there's nothing actionable here.