mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-27 23:35:01 +00:00
Resolve export property ids with explicit ids overriding filters 🟩
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ddc1994984
commit
274d71599e
1 changed files with 6 additions and 1 deletions
|
|
@ -68,7 +68,12 @@ class ScenarioExportTasks:
|
|||
**override**, not a co-filter: when present it is used as given;
|
||||
otherwise the ``filters`` are resolved against the portfolio through the
|
||||
shared Modelling Run resolver (ADR-0056)."""
|
||||
raise NotImplementedError
|
||||
if property_ids:
|
||||
return sorted(set(property_ids))
|
||||
resolved = resolve_filtered_property_ids(
|
||||
self._session, portfolio_id, filters
|
||||
)
|
||||
return sorted({filtered.property_id for filtered in resolved})
|
||||
|
||||
def create_export_subtask(
|
||||
self, task_id: UUID, subtask_id: UUID, recipe: dict[str, Any]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue