"""Database loaders for Toronto housing data."""

from .base import bulk_insert, get_session, upsert_by_key
from .cmhc import load_cmhc_record, load_cmhc_rentals
from .dimensions import (
    generate_date_key,
    load_cmhc_zones,
    load_neighbourhoods,
    load_policy_events,
    load_time_dimension,
    load_trreb_districts,
)
from .trreb import load_trreb_purchases, load_trreb_record

__all__ = [
    # Base utilities
    "get_session",
    "bulk_insert",
    "upsert_by_key",
    # Dimension loaders
    "generate_date_key",
    "load_time_dimension",
    "load_trreb_districts",
    "load_cmhc_zones",
    "load_neighbourhoods",
    "load_policy_events",
    # Fact loaders
    "load_trreb_purchases",
    "load_trreb_record",
    "load_cmhc_rentals",
    "load_cmhc_record",
]
