Skip to main content

convert_function

Function convert_function 

Source
fn convert_function(
    name: &str,
    arguments: &ChunkArguments,
    decorators: &[ChunkExpr],
    returns: &Option<ChunkExpr>,
    is_async: bool,
    docstring: Option<&str>,
    type_hint_for_annotation_id: &HashMap<String, Expr>,
) -> Function
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here