Skip to content

src/dazzle_ui/runtime/mock_data.py

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

Commit: 615f1354a103

Language: python

Scope: dazzle_ui

Purpose

Mock data generator for static preview pages.

Generates realistic-looking sample data from entity specifications for use in preview HTML files that work without a server.

Key Exports

  • generate_mock_records

Dependencies

Imports

  • random
  • uuid
  • typing.Any
  • dazzle.core.ir
  • dazzle.core.ir.FieldTypeKind
  • dazzle.testing.field_value_gen.generate_field_value

Event Interactions

None detected.

Invariants and Assumptions

No invariants documented.

Tests

  • tests/unit/test_vendor_mock_data_generators.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.