OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
docs: update python sdk
Carl-Gerhard Lindesvärd0a1564c79863
diff --git a/apps/public/content/docs/(tracking)/sdks/python.mdx b/apps/public/content/docs/(tracking)/sdks/python.mdxindex 46c1f4592..07e2b57e5 100644--- a/apps/public/content/docs/(tracking)/sdks/python.mdx+++ b/apps/public/content/docs/(tracking)/sdks/python.mdx@@ -81,18 +81,15 @@ op.track("login_successful", {### Identifying Users-To identify a user, use the `identify` method:+To identify a user, use the `identify` method with the profile ID as the first argument and a dictionary of traits as the second:```python-op.identify({- "profile_id": "123", # Required- "first_name": "Joe",- "last_name": "Doe",- "email": "[email protected]",- "properties": {- "tier": "premium",- "company": "Acme Inc"- }+op.identify("user123", {+ "firstName": "John",+ "lastName": "Doe",+ "email": "[email protected]",+ "tier": "premium",+ "company": "Acme Inc"})```