Skip to content

Conversation

@PatrickHuembeli
Copy link
Contributor

These fixes allow us to upload files from path and url again. The changes in the endpoint to use UploadFile broke the old way we did it.

file_name = path.split("/")[-1]
file_tuple = (file_name, file_bytes, "application/pdf")

response = self._ax_client.document.parse(file=file_tuple)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so weird! I'm sure it was not required before - maybe fern just updated the sdk?

@PatrickHuembeli PatrickHuembeli merged commit 6426a06 into main Apr 11, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants