Releases: DavidCEllis/ducktools-lazyimporter
Releases · DavidCEllis/ducktools-lazyimporter
v0.7.1
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
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
What's Changed
- Rename import method from
do_import
toimport_objects
. by @DavidCEllis in #25
Full Changelog: v0.5.1...v0.6.0
v0.5.1
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
What's Changed
- Add
force_imports
function to eagerly import all attributes in a lazy importer
v0.3.0
What's Changed
- Convert to folder module from single file. by @DavidCEllis in #12
- Require aliases for submodule imports by @DavidCEllis in #14
Full Changelog: v0.2.2...v0.3.0
v0.2.2
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
What's Changed
- Add MANIFEST.in file to include all files required for tests in sdist by @DavidCEllis in #7
- Add a typing stub file by @DavidCEllis in #8
- Add a try/except from importer by @DavidCEllis in #9
Full Changelog: v0.2.0...v0.2.1
v0.2.0
What's Changed
- Make it easier to add custom importers by @DavidCEllis in #6
Full Changelog: v0.1.3...v0.2.0
v0.1.3
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