Skip to main content

generate_all_python_models

Function generate_all_python_models 

Source
pub fn generate_all_python_models(
    ir: &SchemaIr,
    is_async: bool,
    recursive_type_depth: usize,
) -> Vec<(String, String)>
Expand description

Generate all Python models.

is_async is forwarded to every generate_python_model call. recursive_type_depth controls the depth of generated recursive include TypedDicts.