pub fn generate_python(schema: &Schema) -> Result<String>Expand description
Compile a schema to a Python module of @dataclasses with to_verit /
from_verit, over the pure-stdlib veritate port. Unlike the Rust emitter,
this supports every schema the dynamic reader does (all struct modes, all
list element types) — the dataclasses map to/from the {field_id: value}
form the port already speaks. The embedded canonical schema + 128-bit id are
the cross-language contract.