Skip to content

Commit 4e18389

Browse files
jaeoptclaude
andcommitted
[FSSDK-12670] Add comment explaining the < 2 identifiers guard
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8d35109 commit 4e18389

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

optimizely/odp/odp_event_manager.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ def identify_user(self, identifiers: dict[str, str]) -> None:
281281
# Filter out identifiers with None or empty string values.
282282
valid_identifiers = {k: v for k, v in identifiers.items() if v}
283283

284+
# Identify requires 2+ identifiers to link (e.g., vuid + fs_user_id).
285+
# A single identifier has no cross-reference value and generates unnecessary traffic.
284286
if len(valid_identifiers) < 2:
285287
self.logger.debug(
286288
'ODP identify event is not dispatched (fewer than 2 valid identifiers).'

0 commit comments

Comments
 (0)