Skip to content

Conversation

@luke-belton
Copy link
Contributor

@luke-belton luke-belton requested a review from gewenyu99 November 2, 2025 15:44
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 file reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

# Store old flags to detect changes
old_flags_by_key: dict[str, dict] = self.feature_flags_by_key or {}

print(self.personal_api_key, self.api_key, self.host)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Debug print statement leaks sensitive API keys to console. Must be removed before merge.

Suggested change
print(self.personal_api_key, self.api_key, self.host)
Prompt To Fix With AI
This is a comment left during a code review.
Path: posthog/client.py
Line: 1088:1088

Comment:
**logic:** Debug print statement leaks sensitive API keys to console. Must be removed before merge.

```suggestion
```

How can I resolve this? If you propose a fix, please make it concise.

@luke-belton luke-belton force-pushed the luke/fix-set-docstring branch from ffecb3c to eeba14d Compare November 2, 2025 15:47
@luke-belton luke-belton force-pushed the luke/fix-set-docstring branch from eeba14d to c9ccc66 Compare November 2, 2025 15:49
Copy link
Contributor

@gewenyu99 gewenyu99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noice

@luke-belton luke-belton enabled auto-merge (squash) November 6, 2025 16:02
@luke-belton luke-belton requested a review from a team November 6, 2025 16:02
@luke-belton luke-belton merged commit a155e1d into master Nov 6, 2025
11 checks passed
@luke-belton luke-belton deleted the luke/fix-set-docstring branch November 6, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants