The v0.12.0 Lakehouse spec defines POST /upsert with required catalog, schema, table, and primary_key query parameters. The Python client currently accepts and sends mode, and makes primary_key optional.
Remove the unsupported mode API/query parameter, require primary_key, and update the README and request-construction tests. This is the same contract correction addressed for the JS client in altertable-ai/altertable-lakehouse-js#14.
The v0.12.0 Lakehouse spec defines
POST /upsertwith requiredcatalog,schema,table, andprimary_keyquery parameters. The Python client currently accepts and sendsmode, and makesprimary_keyoptional.Remove the unsupported
modeAPI/query parameter, requireprimary_key, and update the README and request-construction tests. This is the same contract correction addressed for the JS client in altertable-ai/altertable-lakehouse-js#14.