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
## Problem
While implementing lazy loading and a package level .pyi file, we
accidentally broke intellisense for some classes.
## Solution
- Add missing exceptions to pyi
- Remove type annotations on `pc.inference` that rely on values imported
during `TYPE_CHECKING`. It seems like mypy and intellisense/autocomplete
are able to infer these types without them being labeled explicitly. I
think there is some sort of bug in the way autocomplete works because
these type hints used with
[TYPE_CHECKING](https://docs.python.org/3/library/typing.html#typing.TYPE_CHECKING)
are valid and seem to work for typechecking purposes.
## Type of Change
- [x] Bug fix (non-breaking change which fixes an issue)
## Test Plan
Made a `7.0.1.dev1` dev build to confirm autocomplete behavior in
different environments
0 commit comments