[PR #273] [CLOSED] Handle file_path as either str or PosixPath. #696

Closed
opened 2026-02-16 00:18:50 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/llama_cloud_services/pull/273
Author: @Ray0907
Created: 7/6/2024
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • e75b2c0 Handle file_path as either str or PosixPath.

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 llama_parse/base.py (+2 -2)

📄 Description

description

Previously, the code was designed to handle only string types, but with this update, it now properly handles PosixPath class as well. This change ensures that the file_path can be used flexibly in various contexts where it might be provided as either a string or a PosixPath.

Related Issue

#268


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/llama_cloud_services/pull/273 **Author:** [@Ray0907](https://github.com/Ray0907) **Created:** 7/6/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`e75b2c0`](https://github.com/run-llama/llama_cloud_services/commit/e75b2c05b8adb3c2152d4da76f81e506a76d52c6) Handle file_path as either str or PosixPath. ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `llama_parse/base.py` (+2 -2) </details> ### 📄 Description ## description Previously, the code was designed to handle only string types, but with this update, it now properly handles PosixPath class as well. This change ensures that the file_path can be used flexibly in various contexts where it might be provided as either a string or a PosixPath. ## Related Issue #268 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 00:18:50 -05:00
yindo closed this issue 2026-02-16 00:18:50 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_cloud_services#696