def send_genes(self, gene_list, url):
payload = {<EOL>'<STR_LIT:list>': (None, gene_list),<EOL>'<STR_LIT:description>': (None, self.descriptions)<EOL>}<EOL>response = requests.post(url, files=payload)<EOL>if not response.ok:<EOL><INDENT>raise Exception('<STR_LIT>')<EOL><DEDENT>sleep(<NUM_LIT:1>)<EOL>job_id = json.loads(response.text)<EOL>return job_id<EOL>
send gene list to enrichr server