#!/usr/bin/env python3
"""手动同步 demand_belong_pool_rel，并回填 demand_belong_category.video_list。

用法:
    python jobs/sync_demand_belong_pool_rel.py
"""

from __future__ import annotations

import logging

from supply_infra.scheduler.jobs.sync_demand_belong_pool_rel import (
    sync_demand_belong_pool_rel,
)

logging.basicConfig(
    level=logging.INFO,
    format="%(asctime)s [%(levelname)s] %(name)s: %(message)s",
)


def main() -> dict:
    result = sync_demand_belong_pool_rel()
    print(result)
    return result


if __name__ == "__main__":
    main()
