I'm a contributor to the Bazaar project and their project uses a lazy import mechanism to help speed up start times. Unfortunately, PyCharm doesn't recognize these lazy imports and marks all the code which uses the lazily imported modules with errors. I was wondering if there was anything that could be done about this?
The lazy imports look like this:
from bzrlib.lazy_import import lazy_import
from warnings import warn
from bzrlib import (