Changelog 2022.6.30.dev1
Highlights
- Smart tab mode for
ax grep. - Dicts in
optionscan retain key order.
ax grep
- Smart tab mode (
-T/--tab-length).- Longer separation between fields than the tab interval, so that fields are more likely to stay aligned.
- On by default for terminal output, use
-T8for the old behaviour (or use-t<SEPARATOR>). - Use
-T/to turn it on for file/pipe output without specifying values. - Configure it with
-T<TABLEN>/<FIELDLEN>/<MINLEN>. Everything aligns toTABLEN, fields start atFIELDLENintervals and each value is separated by at leastMINLEN. Default is 8/16/2. - You can also use
NAME=VALUE, e.g.--tab-length min=3/field=24.
- New
--chain-lengthand--stop-dsoptions that work like onds.chain().- You can specify them several times if you have several chains (i.e. have specified several datasets to chain from).
Server
- Rename
--debugoption to--keep-temp-files, to reflect the only remaining functionality of that option.
In your methods
DotDicts(which all dicts inoptionsare) are nowOrderedDictsand if you pass anOrderedDictin the call to the method order is preserved. (If you pass a normal dict the keys will be sorted.)- Unset
job/datasetvalues now provide some of the methods and properties a set value would have with empty results. E.g.:jobs.foo.datasets() == DatasetList([])ifjobs.foois unset.jobs.foo.files() == set()ifjobs.foois unset.jobs.foo.load() == Noneifjobs.foois unset.datasets.bar.lines[n] == 0ifdatasets.baris unset.datasets.bar.columns == {}ifdatasets.baris unset.- Most other properties are
Noneor''.
job.datasetsis aDatasetList, so you can use it like aDatasetChain.- New
job.finish_early(result=None)function to end a job early (without running later steps). DatasetWriternow supportsdefault=on all column types.
And finally
- More tests.
- Various bug fixes / minor improvements of course.
Note: Python 2 is still supported, but will most likely be unsupported soon.
Additional Resources
The Accelerator’s Homepage (exax.org)
The Accelerator on Github/exaxorg
The Accelerator on PyPI
Reference Manual