pub fn get_pytype_name<'py>( obj: &Bound<'py, PyAny>, ) -> PyResult<Bound<'py, PyString>>
Gets the type name for the given Python obj.
obj
Returns a error if accessing the type name fails.