Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

1.3 KB
Raw Blame
"""
Source-domain wiring for warehouse_sources.

Light, framework-free constants and naming helpers that live under the source tree
and are referenced by sibling products (revenue_analytics' stripe views, the
data-modeling saved-query naming). Heavier source-connection internals (HogQL
direct-SQL's mysql/postgres configs and drivers, the Google Search Console session
helpers) stay behind named legacy-leaks rather than being re-exported here, so the
facade import path doesn't drag in DB drivers or the Google client libraries.
"""

from products.warehouse_sources.backend.temporal.data_imports.naming_convention import NamingConvention
from products.warehouse_sources.backend.temporal.data_imports.sources.github.naming import (
    schema_repo_endpoint,
    split_schema_name as github_split_schema_name,
)
from products.warehouse_sources.backend.temporal.data_imports.sources.stripe.constants import (
    CHARGE_RESOURCE_NAME,
    CUSTOMER_RESOURCE_NAME,
    INVOICE_RESOURCE_NAME,
    PRODUCT_RESOURCE_NAME,
    SUBSCRIPTION_RESOURCE_NAME,
)

github_schema_repo_endpoint = schema_repo_endpoint

__all__ = [
    "CHARGE_RESOURCE_NAME",
    "CUSTOMER_RESOURCE_NAME",
    "INVOICE_RESOURCE_NAME",
    "NamingConvention",
    "PRODUCT_RESOURCE_NAME",
    "SUBSCRIPTION_RESOURCE_NAME",
    "github_split_schema_name",
    "github_schema_repo_endpoint",
]