Skip to content

Releases: DavidCEllis/ducktools-lazyimporter

v0.7.1

15 Nov 11:12
Compare
Choose a tag to compare

What's Changed

  • Fail if a submodule import without an assigned name is detected in an import capture block by @DavidCEllis in #29

Full Changelog: v0.7.0...v0.7.1

v0.7.0

12 Nov 18:06
bfece4d
Compare
Choose a tag to compare

What's Changed

  • Add an experimental context manager that captures import statements to populate a LazyImporter by @DavidCEllis in #27

Full Changelog: v0.6.0...v0.7.0

v0.6.0

10 Sep 17:18
16c9560
Compare
Choose a tag to compare

What's Changed

  • Rename import method from do_import to import_objects. by @DavidCEllis in #25

Full Changelog: v0.5.1...v0.6.0

v0.5.1

04 Jul 16:03
f34d6f6
Compare
Choose a tag to compare

What's Changed

  • Add a try-fallback import that puts an object in place of a failed import. by @DavidCEllis in #16
  • Add environment variables/globals/arguments to enable/disable eager process/export by @DavidCEllis in #17

Full Changelog: v0.4.0...v0.5.1

v0.4.0

16 Feb 15:26
b1bde87
Compare
Choose a tag to compare

What's Changed

  • Add force_imports function to eagerly import all attributes in a lazy importer

v0.3.0

03 Jan 15:17
330f803
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.2...v0.3.0

v0.2.2

22 Nov 19:00
2d9c4d1
Compare
Choose a tag to compare

What's Changed

  • Change attribute error on generated getattr to show module name instead of LazyImporter object. by @DavidCEllis in #10

Full Changelog: v0.2.1...v0.2.2

v0.2.1

22 Nov 17:47
05c2c46
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.0...v0.2.1

v0.2.0

13 Nov 09:47
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.3...v0.2.0

v0.1.3

06 Nov 16:50
Compare
Choose a tag to compare

What's Changed

  • Improve test coverage and fix bugs found by @DavidCEllis in #5

  • Remove ability to do direct relative imports without asname

  • Check asname values are valid identifiers

Full Changelog: v0.1.2...v0.1.3