Model/backend/app/db/functions
Khalim Conn-Kowlessar 735e83cef2 Relocate condition-data ingestion into the DDD layout 🟪
Behaviour-preserving lift-and-shift of the condition module out of legacy
backend/condition/ into domain/condition, infrastructure/condition,
infrastructure/postgres/condition_tables.py, repositories/condition,
applications/condition, and tests/condition. Imports rewritten to the DDD
paths; ConditionPostgres and the ORM models keep the legacy backend.app.db
Base/db_session bridges so the existing suite proves behaviour is unchanged
(SQLModel + session-DI conversion tracked as a follow-up in ADR-0064).

16 condition tests pass at the new location.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13 14:51:25 +00:00
..
tasks made everything complete not compelted 2026-04-21 20:37:34 +00:00
tests added floats helper 2026-06-12 14:28:41 +00:00
__init__.py allow double glazing if no restrictions but confirmed performance of secondary glazing 2026-01-10 11:40:49 +00:00
address_functions.py removing data 2026-03-18 19:17:22 +00:00
already_installed_functions.py allow double glazing if no restrictions but confirmed performance of secondary glazing 2026-01-10 11:40:49 +00:00
bulk_address_uploads_functions.py added backend funciton to functions 2026-04-22 14:21:39 +00:00
condition_functions.py Relocate condition-data ingestion into the DDD layout 🟪 2026-07-13 14:51:25 +00:00
energy_assessment_functions.py updating database pushes for rebaselined properties 2026-03-25 22:16:30 +00:00
epc_functions.py reduced freshness down to 14 days 2026-04-09 17:17:41 +01:00
funding_functions.py completed database upload refactor 2025-12-22 18:46:19 +08:00
inspections_functions.py refactoring db requests to run in bulk 2025-12-19 09:43:13 +08:00
materials_functions.py update floor recommendations for suspended floor 2023-11-24 08:03:09 +00:00
non_intrusive_surveys.py Pushed non-intrusive survey results to bd 2024-04-13 17:07:42 +01:00
portfolio_functions.py feat(modelling): cut plan→recommendation readers onto plan_id 2026-06-03 21:09:43 +00:00
property_functions.py testing out rebaselining 2026-02-12 22:25:03 +00:00
recommendations_functions.py feat(modelling): drop the plan_recommendations m2m 2026-06-03 21:13:00 +00:00
solar_functions.py updating write to db for solar api, wip 2024-09-18 12:19:28 +01:00
uploaded_files_functions.py UploadedFile, FileTypeEnum, FileSourceEnum importable from infrastructure.postgres.uploaded_file_table 🟩 2026-06-09 11:50:51 +00:00
whlg_functions.py add my code to main 2025-11-14 13:36:09 +00:00