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
Describe the bug Pyright will throw an error about imports not being publically exported.
To Reproduce
Steps to reproduce the behavior:
Generate an client
Import a module from the client from test_client.models import test
Pyright will throw an error "test" is not exported from module "test_client.models"
Expected behavior
All public exports should be exported with a redudant alias. from .feature import Feature should be from .feature import Feature as Feature
Describe the bug
Pyright
will throw an error about imports not being publically exported.To Reproduce
Steps to reproduce the behavior:
from test_client.models import test
Pyright
will throw an error"test" is not exported from module "test_client.models"
Expected behavior
All public exports should be exported with a redudant alias.
from .feature import Feature
should befrom .feature import Feature as Feature
Additional context
Pyright
will check imports in specific ways, which can be found here https://github.com/microsoft/pyright/blob/main/docs/typed-libraries.md#library-interface.Can also be fixed in the way issue #540 suggested.
The text was updated successfully, but these errors were encountered: