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