You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/dataverse-sdk-use/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Use the PowerPlatform Dataverse Client Python SDK to interact with Microsoft Dat
25
25
-`client.batch` -- batch multiple operations into a single HTTP request
26
26
27
27
### Bulk Operations
28
-
The SDK supports Dataverse's native bulk operations: Pass lists to `create()`, `update()`for automatic bulk processing, for `delete()`, set `use_bulk_delete` when passing lists to use bulk operation
28
+
The SDK supports Dataverse's native bulk operations: Pass lists to `create()`, `update()`, or `upsert()`for automatic bulk processing; for `delete()`, set `use_bulk_delete=True`. Lists exceeding 1,000 records are automatically split into sequential 1,000-record chunks — no manual pre-splitting needed. Operations across chunks are **not atomic**: a failure mid-way may leave earlier chunks applied.
Logical type stamping: if any payload omits ``@odata.type`` the client injects ``Microsoft.Dynamics.CRM.<table_logical_name>``. If all payloads already include ``@odata.type`` no modification occurs.
357
+
Logical type stamping: if any payload omits ``@odata.type`` the client
358
+
injects ``Microsoft.Dynamics.CRM.<table_logical_name>``. If all payloads
359
+
already include ``@odata.type`` no modification occurs.
360
+
361
+
.. warning::
362
+
When input exceeds ``_MULTIPLE_BATCH_SIZE`` records, the operation is
363
+
split into multiple requests and is **not atomic**. If a later batch
364
+
fails, earlier batches are already committed. Callers that require
365
+
atomicity should limit input to ``<= _MULTIPLE_BATCH_SIZE`` records.
349
366
"""
350
367
ifnotall(isinstance(r, dict) forrinrecords):
351
368
raiseTypeError("All items for multi-create must be dicts")
0 commit comments