Skip to main content

compile_model

Python API reference for the function python.src.softschema.compile.compile_model.

Public API

Function: compile_model

Canonical path: python.src.softschema.compile.compile_model

Declared in: packages/python/src/softschema/compile.py

Signature

def compile_model(
model_cls: type[BaseModel],
out_path: Path,
*,
contract_id: str,
schema_id: str | None = None,
check_only: bool = False,
) -> CompileResult: ...