0.9.2
Improved data handling features and support for Python 3.7:
- Changed Query class:
- Added
flatten()
method to serialize dictionary results. - Added
to_csv()
method to quickly save results as a CSV file. - Changed
reduce()
method to acceptinitializer_factory
as
an optional argument. - Changed
filter()
method to support predicate matching.
- Added
- Added
True
andFalse
as predicates to support "truth value testing" on
arbitrary objects (to match on truthy or falsy). - Added
ProxyGroup
class for performing the same operations on groups of
objects at the same time (a common need when testing against reference
data). - Changed
Selector
class keyword filtering to support predicate matching. - Added handling to
get_reader()
to support datatest'sSelector
andResult
objects. - Fixed
get_reader()
bug that prevented encoding-fallback recovery when
reading from StringIO buffers in Python 2.