code: def _get_genes(self, variant):
          
          transcripts = variant['transcripts']
          ensembl_ids = [transcript['ensembl_id'] for transcript in
                         transcripts if transcript['ensembl_id']]
          hgnc_symbols = [transcript['hgnc_symbol'] for transcript in
                          transcripts if transcript['hgnc_symbol']]
          genes = get_gene_info(ensembl_ids, hgnc_symbols)
          return genes
docs: Add the genes for a variant
  
          Get the hgnc symbols from all transcripts and add them
          to the variant.
  
          Args:
              variant (dict): A variant dictionary
  
          Returns:
              genes (list): A list of Genes