Skip to content

Commit

Permalink
fix: issue-10 πŸ› Add model_changed_markers to __slots__
Browse files Browse the repository at this point in the history
  • Loading branch information
ddanier committed Nov 10, 2023
1 parent 15a06dc commit ee46d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydantic_changedetect/changedetect.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Something(ChangeDetectionMixin, pydantic.BaseModel):
model_self_changed_fields: Set[str]
model_changed_markers: set[str]

__slots__ = ("model_original", "model_self_changed_fields")
__slots__ = ("model_original", "model_self_changed_fields", "model_changed_markers")

def __init__(self, **kwargs: Any) -> None:
super().__init__(**kwargs)
Expand Down

0 comments on commit ee46d54

Please sign in to comment.