Compare commits

..

5 Commits

Author SHA1 Message Date
Pierre-Loic doulcet 7bfd3b2e0a "0.6.84 2026-01-14 18:32:25 +01:00
Pierre-Loic Doulcet 3877c42b94 Update py/llama_cloud_services/parse/base.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-25 13:28:01 +01:00
Pierre-Loic Doulcet 3863b6f76a Update py/llama_cloud_services/parse/base.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-25 13:27:48 +01:00
Pierre-Loic doulcet 0bfbcb61b9 bupmVErsion 2025-11-25 11:00:23 +01:00
Pierre-Loic doulcet 6f334251ea up python sdk 2025-11-25 10:57:50 +01:00
4 changed files with 5 additions and 9 deletions
-1
View File
@@ -12,7 +12,6 @@ env:
jobs:
test_e2e:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
# You can use PyPy versions in python-version.
# For example, pypy-2.7 and pypy-3.8
+1 -1
View File
@@ -15,4 +15,4 @@ test: ## Run unit tests via pytest
.PHONY: e2e
e2e: ## Run all tests. Run with high parallelism using xdist since tests are bottlenecked bound by the slow backend parsing
uv run pytest -v -n 32 --timeout=300 --session-timeout=1740 tests/
uv run pytest -v -n 32 tests/
+3 -5
View File
@@ -740,11 +740,9 @@ class LlamaParse(BasePydanticReader):
file_path = str(file_input)
file_ext = os.path.splitext(file_path)[1].lower()
if file_ext not in SUPPORTED_FILE_TYPES:
raise Exception(
f"Currently, only the following file types are supported: {SUPPORTED_FILE_TYPES}\n"
f"Current file type: {file_ext}"
)
mime_type = mimetypes.guess_type(file_path)[0]
mime_type = "application/octet-stream"
else:
mime_type = mimetypes.guess_type(file_path)[0]
# Open the file here for the duration of the async context
# load data, set the mime type
fs = fs or get_default_fs()
+1 -2
View File
@@ -7,7 +7,6 @@ dev = [
"pytest>=8.0.0,<9",
"pytest-xdist>=3.6.1,<4",
"pytest-asyncio",
"pytest-timeout>=2.3.1",
"ipykernel>=6.29.0,<7",
"pre-commit==3.2.0",
"autoevals>=0.0.114,<0.0.115",
@@ -23,7 +22,7 @@ dev = [
[project]
name = "llama-cloud-services"
version = "0.6.83"
version = "0.6.84"
description = "Tailored SDK clients for LlamaCloud services."
authors = [{name = "Logan Markewich", email = "logan@runllama.ai"}]
requires-python = ">=3.9,<4.0"