https://prefect.io logo
Title
m

Manuel Aristarán

04/03/2020, 11:33 PM
Has anyone else had issues with VSCode not picking up
prefect
typing information when importing the module?
mypy
is also complaining…
n

nicholas

04/03/2020, 11:37 PM
I've seen this before @Manuel Aristarán - in the bottom left of VSCode there's an option to choose your Python environment. My issue was that it was using a different environment than the one I had installed Prefect in.
m

Manuel Aristarán

04/03/2020, 11:38 PM
It’s not just VSCode.
mypy
also can’t find prefect’s typings
error: Skipping analyzing 'prefect': found module but no type hints or library stubs
c

Chris White

04/03/2020, 11:50 PM
Are you sure
mypy
and
prefect
are installed in the same environment? We actually enforce
mypy
static type checks as a circleCI job on all PRs so this is surprising to see
s

Scott Zelenka

04/04/2020, 5:31 PM
I've ran into this with PyCharm, specifically with Parameters