mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-30 19:41:46 +01:00
1eeed28751
* add test runner to ease pycharm dev * fix broken import * drop and recreate the clickhouse test db before running tests * fix person uuid str json serialization issue * make kafka optional in tests * fix inits * remove need for kafka in person.py * fix a bunch of mypy errors * fix function and add process_event to pipeline * fixed missing params and tests * change uuid and fix types * types * optimize for merge prop test * make ClickhouseProducer to produce to clickhouse one way or another * annotate types Co-authored-by: Eric <eeoneric@gmail.com> Co-authored-by: James Greenhill <fuziontech@gmail.com>
17 lines
537 B
Python
17 lines
537 B
Python
"""
|
|
Django settings for PostHog Enterprise Edition.
|
|
"""
|
|
from posthog.settings import CLICKHOUSE, PRIMARY_DB, TEST
|
|
|
|
# Zapier
|
|
HOOK_EVENTS = {
|
|
# "event_name": "App.Model.Action" (created/updated/deleted)
|
|
"action_defined": "posthog.Action.created_custom",
|
|
"action_performed": "posthog.Action.performed",
|
|
"annotation_created": "posthog.Annotation.created_custom",
|
|
}
|
|
HOOK_FINDER = "ee.models.hook.find_and_fire_hook"
|
|
HOOK_DELIVERER = "ee.models.hook.deliver_hook_wrapper"
|
|
|
|
KAFKA_ENABLED = PRIMARY_DB == CLICKHOUSE and not TEST
|