Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion interactions/api/models/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(self, **kwargs):
# for key in kwargs:
# setattr(self, key, kwargs[key])

for key in kwargs:
for key in list(kwargs):
if key in self.__slots__ if hasattr(self, "__slots__") else True:
# else case if the mixin is used outside of this library and/or SDK.
setattr(self, key, kwargs[key])
Expand Down