PageIndex/pageindex/backend
Ray 00e9323b27 fix: map duplicate-folder 400 to CollectionAlreadyExistsError in cloud create_collection
The server rejects a duplicate folder name with HTTP 400 ('A folder named
"x" already exists in this location'); the local backend raises
CollectionAlreadyExistsError for the same condition (4e6a135 wired the new
exception into sqlite only). except CollectionAlreadyExistsError written
against local mode never fired on cloud, where the 400 surfaced as a bare
CloudAPIError — the same parity gap _doc_request already closes for 404 →
DocumentNotFoundError.
2026-07-22 12:30:48 +08:00
..
__init__.py feat: add PageIndex SDK with local/cloud dual-mode support (#207) 2026-04-08 20:21:58 +08:00
cloud.py fix: map duplicate-folder 400 to CollectionAlreadyExistsError in cloud create_collection 2026-07-22 12:30:48 +08:00
local.py fix: delete the DB row before the files in delete_document 2026-07-21 18:03:49 +08:00
protocol.py fix: enforce collection membership on cloud doc-scoped operations 2026-07-16 06:20:24 +08:00