Skip to content

0.0.4

Latest
Compare
Choose a tag to compare
@p1-dta p1-dta released this 18 Sep 17:06
· 13 commits to main since this release

Features

Breaking changes

  • ⚠️ lazimp.lazy_import signature has changed i.e.:
def lazy_import(
        *bare_imports: str,
        aliases: collections.abc.Mapping[str, str] | None = None,
        sub_import: collections.abc.Mapping[str, str] | None = None,
        **kw_sub_import: str,
) -> collections.abc.Callable[[str], ModuleType]:

kw_sub_import will be merge with the sub_import mapping.

Fixes

  • 🐛 Fix bare import who weren't working.

Docs

Full Changelog: 0.0.3...0.0.4
PyPi release: https://pypi.org/project/lazimp/0.0.4/