Skip to content

Releases: bachorp/lazy-imports

1.0.1

09 Aug 07:15
824af67
Compare
Choose a tag to compare

Bug Fixes

  • Make sure not to include additional packages in dist (#4)

Documentation

1.0.0

06 Jun 18:02
Compare
Choose a tag to compare

v1 introduces a new class LazyModule, an improved version of LazyImporter, which

  • allows attributes to be imported from any module (and not just submodules),
  • offers to specify imports as plain python code (which can then be sourced from a dedicated file),
  • supports __doc__, and
  • applies additional sanity checks (such as preventing cyclic imports).

For examples and additional information, check out the README.

0.4.0

23 Dec 10:37
Compare
Choose a tag to compare

Changes

  • Bump minimum version of Python to 3.9
  • Raise ValueError upon instantiating LazyImporter with duplicate attributes
  • Include extra_objects in __all__ and __reduce__
  • Add type annotations to LazyImporter(...)