There is no API for providing `**kwargs` to `Compressor.decompress`
Opened this issue · 0 comments
braingram commented
As discussed here:
braingram/asdf-compression#1 (comment)
Compressor.decompress
accept **kwargs
:
asdf/asdf/extension/_compressor.py
Line 63 in ecb4d4f
These are provided during compression.decompress
(passed in from the config
argument):
Line 273 in ecb4d4f
However config
is not defined during block decompression:
Line 150 in ecb4d4f
To propose a possible solution (to start the conversation) it might be possible to specify decompression_kwargs
either per-block or per-codec/label. Something like the following:
asdf.open('test.asdf', decompression_kwargs={0: {...}, 'lz4': {...}, ...})