Skip to content

Commit 44d9198

Browse files
fix: allow displayName field in AtlanTag classification model
Remove `extra = "forbid"` from AtlanTag Config so it inherits the base AtlanObject's `Extra.ignore` behavior, preventing crashes when the API returns new fields. Add explicit `display_name` (alias `displayName`) optional field for proper typed access. Fixes GOV-729 — metadata completeness workflows failing with "classifications -> 0 -> displayName extra fields not permitted". Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2b48e48 commit 44d9198

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

pyatlan/model/core.py

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

275275

276276
class AtlanTag(AtlanObject):
277-
class Config:
278-
extra = "forbid"
279-
280277
type_name: Optional[AtlanTagName] = Field(
281278
default=None,
282279
description="Name of the type definition that defines this instance.\n",
@@ -294,6 +291,11 @@ class Config:
294291
example=EntityStatus.ACTIVE,
295292
alias="entityStatus",
296293
)
294+
display_name: Optional[str] = Field(
295+
default=None,
296+
description="Human-readable display name of the Atlan tag.",
297+
alias="displayName",
298+
)
297299
propagate: Optional[bool] = Field(
298300
default=False,
299301
description="whether to propagate the Atlan tag (True) or not (False)",

0 commit comments

Comments
 (0)