We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59545b3 commit fd3209fCopy full SHA for fd3209f
src/axiomatic/client.py
@@ -22,7 +22,7 @@ def __init__(self, ax_client: Axiomatic):
22
def pdf_from_url(self, url: str) -> MdResponse:
23
"""Download a PDF document from a URL and parse it into a Markdown response."""
24
file = requests.get(url)
25
- response = self.ax_client.document.parse(file=file)
+ response = self.ax_client.document.parse(file=file.content)
26
return response.content
27
28
def pdf_from_file(self, path: str) -> MdResponse:
0 commit comments