-
Notifications
You must be signed in to change notification settings - Fork 58
chore: Improvements to example.py #310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+323
−169
Merged
Changes from 3 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
077eb70
feat: add environment variable support to example.py
haacked d87fcf2
fix: set both api_key and project_api_key in example.py
haacked c03e16a
Group examples and allow running specific groups
haacked 7a092b4
Redact the personal api key
haacked 53bdfc6
Add newline
haacked d0512ec
Fixed error
haacked ba40a43
Use the same formatting as CI
haacked File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # PostHog API Configuration | ||
| # Copy this file to .env and update with your actual values | ||
|
|
||
| # Your project API key (found on the /setup page in PostHog) | ||
| POSTHOG_PROJECT_API_KEY=phc_your_project_api_key_here | ||
|
|
||
| # Your personal API key (for local evaluation and other advanced features) | ||
| POSTHOG_PERSONAL_API_KEY=phx_your_personal_api_key_here | ||
|
|
||
| # PostHog host URL (remove this line if using posthog.com) | ||
| POSTHOG_HOST=http://localhost:8000 | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.