MCPcopy
hub / github.com/PostHog/posthog / register

Method register

posthog/demo/matrix/models.py:277–279  ·  view source on GitHub ↗

Register super properties. Similar to JS `posthog.register()`.

(self, super_properties: Properties)

Source from the content-addressed store, hash-verified

275 self.is_logged_in = True
276
277 def register(self, super_properties: Properties):
278 """Register super properties. Similar to JS `posthog.register()`."""
279 self.super_properties.update(super_properties)
280
281 def unregister(self, *super_property_keys: str):
282 """Removes super properties. Similar to JS `posthog.unregister()`."""

Callers 11

captureMethod · 0.95
userLogic.tsFile · 0.80
chartjsSetup.tsFile · 0.80
billingLogic.tsFile · 0.80
billingLogic.tsFile · 0.80
preflightLogic.tsxFile · 0.80
admin.pyFile · 0.80
__init__.pyFile · 0.80
simulate_sessionMethod · 0.80
extend_api_routerFunction · 0.80

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected