0.7.0
Enhancements
-
Made writing custom slice sources easier and more flexible: (#82)
- Slice items can now be a
contextlib.AbstractContextManagerso custom slice functions can now be used with @contextlib.contextmanager. - Introduced
SliceSource.close()so contextlib.closing()
is applicable. DeprecatedSliceSource.dispose(). - Introduced new optional configuration setting
slice_source_kwargsthat contains keyword-arguments passed to a configuredslice_sourcetogether with each slice item. - Introduced optional configuration setting
extrathat holds additional configuration not validated by default. Intended use is by aslice_sourcethat expects an argument namedctxand therefore can access the configuration.
- Slice items can now be a
-
Improved readability of the configuration reference by using setting categories and applied logical ordering of settings within categories (#85)
Full Changelog: v0.6.0...v0.7.0