НСПД /layers-theme-tree отдаёт {"layers":[...flat...], "tree":...} с ключом
layerId, а list_layers() ходил _walk_layer_tree по id/children → молча возвращал
[] для любой темы (слои не в children-дереве). Добавлен flat-layers путь с
fallback на nested-tree (id/children) + data-wrapper; defensive на missing id.
Refs #1067 (ИРД — discovery слоёв НСПД).
|
||
|---|---|---|
| .. | ||
| api | ||
| integration | ||
| scrapers | ||
| scripts | ||
| services | ||
| smoke | ||
| sql | ||
| workers | ||
| __init__.py | ||
| conftest.py | ||
| test_admin_weight_profiles.py | ||
| test_concepts_stub.py | ||
| test_gate_verdict.py | ||
| test_health.py | ||
| test_layout_signature.py | ||
| test_layout_tz_pdf.py | ||
| test_nspd_client.py | ||
| test_nspd_sync.py | ||
| test_ping.py | ||
| test_poi_score.py | ||
| test_quarter_dump_lookup.py | ||
| test_rbac.py | ||
| test_sentry_init.py | ||
| test_velocity.py | ||
| test_weight_profiles.py | ||