def gearman_thumbnail_image(size,data=None,in_path=None,out_path=None): from gearmanlib import helpers return helpers.call_gearman(helpers.get_key(thumbnail_image), size,data,in_path,out_path, hosts=GEARMAN_HOSTS)
def gearman_download_resource(url): from gearmanlib import helpers return helpers.call_gearman(helpers.get_key(download_resource), url,hosts=GEARMAN_HOSTS)