Skip to content

Commit 88fe34e

Browse files
committed
Add parameter overwrite_custom_metadata to AtlanClient.upsert
1 parent 1270520 commit 88fe34e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pyatlan/client/atlan.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,11 +377,12 @@ def upsert(
377377
entity: Union[Asset, list[Asset]],
378378
replace_classifications: bool = False,
379379
replace_custom_metadata: bool = False,
380+
overwrite_custom_metadata: bool = False,
380381
) -> AssetMutationResponse:
381382
query_params = {
382383
"replaceClassifications": replace_classifications,
383384
"replaceBusinessAttributes": replace_custom_metadata,
384-
"overwriteBusinessAttribute": replace_custom_metadata,
385+
"overwriteBusinessAttributes": overwrite_custom_metadata,
385386
}
386387
entities: list[Asset] = []
387388
if isinstance(entity, list):

0 commit comments

Comments
 (0)