Parsr icon indicating copy to clipboard operation
Parsr copied to clipboard

parsr.send_document() function in Python's 'parser-client' needs a small update.

Open ThisisAEmam opened this issue 3 years ago • 1 comments

Version parsr-client==3.2.3

Issue the returned dictionary when using 'wait_till_finished=True' was:

return {
  'file': file,
  'config': config,
  'status_code': r.status_code,
  'server_response': r.text
}

It should be:

return {
  'file': file_path,
  'config': config_path,
  'status_code': r.status_code,
  'server_response': r.text
}

As the function takes 'file_path' and 'config_path' as arguments.

ThisisAEmam avatar Jan 22 '22 19:01 ThisisAEmam

I just came across same issue, and it's already fixed in https://github.com/axa-group/Parsr/pull/490

What we would like is to have the changes pushed on PyPi. Is it something that could be done easily?

paulbriton avatar Mar 03 '22 11:03 paulbriton