mirror of
https://github.com/zvx-echo6/recon.git
synced 2026-06-10 08:54:34 +02:00
cleanup: drop dead deployment_config references + orphaned deleted_contacts template
Tidies stale references left behind by the navi extraction + decoupling work. - lib/deployment_config.py: the consumer-catalog docstring listed four in-process consumers that were all extracted/removed across cleanups #4/#5/#6/#27 (/api/landclass gate, google_places.py, place_detail.py, offroute/router.py). Replaced the stale 4-bullet list with an accurate note: recon has no remaining caller of get_deployment_config() today; the module is retained per cleanup #1. - lib/api.py: removed the now-dead `from .deployment_config import get_deployment_config` import (its only caller was the /api/landclass handler removed in #5 — zero call sites remain). - templates/knowledge/deleted_contacts.html: deleted — orphaned since cleanup #3 removed the contacts/dashboard routes; zero callers in recon. No functional change (the removed import was unused; the template unrendered). Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6365fe6756
commit
e840a119dd
3 changed files with 6 additions and 63 deletions
|
|
@ -4,12 +4,12 @@ Deployment profile loader.
|
|||
Reads RECON_PROFILE env var (default: "home"), loads the matching YAML
|
||||
from config/profiles/<profile>.yaml, and caches the parsed dict in memory.
|
||||
|
||||
Provides get_deployment_config() for in-process consumers of the profile:
|
||||
- lib/api.py:api_landclass — the has_landclass feature-flag gate
|
||||
- lib/google_places.py — Google Places enrichment config
|
||||
- lib/place_detail.py — place-detail enrichment config (×4 call sites)
|
||||
- lib/offroute/router.py — profile.offroute.* (osm_pbf_path / postgis_dsn /
|
||||
densify_interval_m)
|
||||
Exposes get_deployment_config() as the in-process accessor for the profile.
|
||||
|
||||
Note: its former consumers (the /api/landclass gate, google_places,
|
||||
place_detail, offroute/router) were all extracted to navi-* services or removed
|
||||
across cleanups #4–#6/#27 — recon has no remaining caller of
|
||||
get_deployment_config() today; the module is retained per cleanup #1.
|
||||
(The former /api/config HTTP endpoint that served this dict to the frontend was
|
||||
removed once navi-config (:8422) took over that route.)
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue