Skip to content

Commit 010846e

Browse files
committed
fix for unpacking dict
1 parent 3f1990c commit 010846e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

featureflags/analytics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def _send_data(self) -> None:
107107
if event.target is not None and not event.target.anonymous:
108108
target_attributes: List[KeyValue] = []
109109
if not isinstance(event.target.attributes, Unset):
110-
for key, value in event.target.attributes:
110+
for key, value in event.target.attributes.items():
111111
target_attributes.append(KeyValue(key, value))
112112
target_name = event.target.identifier
113113
if event.target.name:

0 commit comments

Comments
 (0)