Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ThisisAEmam opened this issue Jan 22, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ThisisAEmam
Copy link

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 ThisisAEmam added the bug Something isn't working label Jan 22, 2022
@paulbriton
Copy link

I just came across same issue, and it's already fixed in #490

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants