0.7.0
Enhancements
-
Made writing custom slice sources easier and more flexible: (#82)
- Slice items can now be a
contextlib.AbstractContextManager
so 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_kwargs
that contains keyword-arguments passed to a configuredslice_source
together with each slice item. - Introduced optional configuration setting
extra
that holds additional configuration not validated by default. Intended use is by aslice_source
that expects an argument namedctx
and 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