execute_item_batch can't accept multiple items for upsert and delete operations #39523
Labels
Client
This issue points to a problem in the data-plane of the library.
Cosmos
Service Attention
Workflow: This issue is responsible by Azure service team.
Describe the bug
I tried using code like this:
batch_operations = [
("upsert", tuple([session_item] + message_pair_items))
]
await container.execute_item_batch(batch_operations=batch_operations, partition_key=[entra_oid, session_id])
That results in an error in the SDK however ("operation" is undefined), arising from this code lacking "upsert"--
Mark says that the .NET SDK has equivalent functionality for upsert and delete. And if for some reason they dont work, the error should be better.
The text was updated successfully, but these errors were encountered: