to_stub

to_stub(func: Callable[..., Any] | autogen.coding.func_with_reqs.FunctionWithRequirementsStr) -> str

Generate a stub for a function as a string

Parameters:
NameDescription
funcThe function to generate a stub for

Type: Callable[..., Any] | autogen.coding.func_with_reqs.FunctionWithRequirementsStr
Returns:
TypeDescription
strstr: The stub for the function