When I try to setup the StoreFile parameter in the conversion method
res = convertapi.convert('pdf', params={'File': <UploadIO object>, 'StoreFile': False})
the parameters normalization down below automatically overrides the StoreFile parameter from False to True, actually blocking the in-memory conversion
def__normalize_params(self):
params= {}
fork, vinself.params.items():
ifk=='File':
params[k] =file_param.build(v)
elifk=='Files':
results=utils.map_in_parallel(file_param.build, v, convertapi.max_parallel_uploads)
foridx, valinenumerate(results):
key='%s[%i]'% (k, idx)
params[key] =valelse:
params[k] =vparams.update(self.default_params) <----returnparams
When I try to setup the
StoreFileparameter in theconversionmethodres = convertapi.convert('pdf', params={'File': <UploadIO object>, 'StoreFile': False})the parameters normalization down below automatically overrides the
StoreFileparameter fromFalsetoTrue, actually blocking the in-memory conversion