Model/backend/categorisation/processor.py
2026-02-11 17:22:00 +00:00

10 lines
372 B
Python

def process_portfolio(portfolio_id: int) -> None:
# Get all plans (including scenarios) for all properties in the portfolio
# For each property, get all compliant plans
# For each property, find the cheapest compliant plan
# For each property, set is_default for cheapest compliant plan
# If no compliant plans, set it to the cheapest plan
pass