Skip to content

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

@ThisisAEmam

Description

@ThisisAEmam

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions