mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
10 lines
372 B
Python
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
|