upsert Module

Upsert data models for the Dataverse SDK.

Classes

UpsertItem

Represents a single upsert operation targeting a record by its alternate key.

Used with upsert to upsert one or more records identified by alternate keys rather than primary GUIDs.

Example:


   item = UpsertItem(
       alternate_key={"accountnumber": "ACC-001", "address1_postalcode": "98052"},
       record={"name": "Contoso Ltd", "telephone1": "555-0100"},
   )