pub fn get_function_type(
py: Python<'_>,
func: &Bound<'_, PyAny>,
) -> Result<FunctionType, TraceError>Expand description
Function to determine if a Python function is async, async generator, or generator This is a helper util function used in tracing decorators