inmar intelligence logo python retry function