hey, i’m trying to enable mypy on our prefect project. what’s the best way to handle imports?
if we do
from prefect import Flow, Parameter, context, task, unmapped
, mypy complains but flows work
if we do
from prefect.src import Flow, Parameter, context, task, unmapped
, mypy is happy but python complains:
ModuleNotFoundError: No module named 'prefect.src