Skip to content

Commit 694dfbe

Browse files
GOV-729: Resolved reviews
1 parent 44d9198 commit 694dfbe

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

pyatlan/model/core.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,9 @@ class Announcement:
274274

275275

276276
class AtlanTag(AtlanObject):
277+
class Config:
278+
extra = "forbid"
279+
277280
type_name: Optional[AtlanTagName] = Field(
278281
default=None,
279282
description="Name of the type definition that defines this instance.\n",

pyatlan_v9/model/assets/asset.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,8 @@ def set_custom_metadata(self, custom_metadata, client=None) -> None:
12151215
from pyatlan_v9.model.custom_metadata import CustomMetadataProxy
12161216

12171217
proxy = CustomMetadataProxy(
1218-
business_attributes=self.business_attributes, client=client or custom_metadata._client
1218+
business_attributes=self.business_attributes,
1219+
client=client or custom_metadata._client,
12191220
)
12201221
proxy.set_custom_metadata(custom_metadata=custom_metadata)
12211222
self.business_attributes = proxy.business_attributes

0 commit comments

Comments
 (0)