24 lines
579 B
Python
24 lines
579 B
Python
|
|
"""Portfolio steering read model — K-Ext-5."""
|
||
|
|
|
||
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
from typing import Any
|
||
|
|
|
||
|
|
from steering.portfolio.aggregate import aggregate_portfolio_steering
|
||
|
|
from tenant_context import TenantContext
|
||
|
|
|
||
|
|
|
||
|
|
def get_portfolio_steering(
|
||
|
|
ctx: TenantContext,
|
||
|
|
*,
|
||
|
|
max_initiatives: int = 50,
|
||
|
|
total_attention: int = 30,
|
||
|
|
total_next_work: int = 15,
|
||
|
|
) -> dict[str, Any]:
|
||
|
|
return aggregate_portfolio_steering(
|
||
|
|
ctx,
|
||
|
|
max_initiatives=max_initiatives,
|
||
|
|
total_attention=total_attention,
|
||
|
|
total_next_work=total_next_work,
|
||
|
|
)
|