def _getAuthorImages(self, **kwargs): if 'wait' in kwargs: getAuthorImages() else: threading.Thread(target=getAuthorImages, name='API-GETAUTHORIMAGES', args=[]).start()