Skip to content

src/dazzle_back/runtime/asset_manifest.py

Generated: 2026-03-30T04:38:46.805679+00:00

Commit: 615f1354a103

Language: python

Scope: dazzle_back

Purpose

Conditional JS asset derivation from surface field specs.

Walks the fields of a surface and collects which vendor widget libraries are needed, so base.html can conditionally load only the required scripts.

Key Exports

  • _HasWidget
  • _HasFields
  • collect_required_assets

Dependencies

Imports

  • __future__.annotations
  • typing.Any
  • typing.Protocol

Event Interactions

None detected.

Invariants and Assumptions

No invariants documented.

Tests

  • tests/unit/test_asset_manifest.py
  • tests/integration/test_runtime_e2e.py
  • tests/integration/test_runtime_pipeline.py
  • tests/unit/test_runtime_test_routes.py
  • tests/unit/test_runtime_services.py

Notes

This page was automatically generated by tools/gen_reference_docs.py.