def get_orthologs(canonical_gene_id: str, species: list = []) -> List[dict]:
gene_id_key = bel.db.arangodb.arango_id_to_key(canonical_gene_id)<EOL>orthologs = {}<EOL>if species:<EOL><INDENT>query_filter = f"<STR_LIT>"<EOL><DEDENT>query = f"""<STR_LIT>"""<EOL>cursor = belns_db.aql.execute(query, batch_size=<NUM_LIT:20>)<EOL>results = cursor.pop()<EOL>for ortholog in results["<STR_LIT>"]:<EOL><INDENT>norms = bel.terms.terms.get_normalized_terms(ortholog["<STR_LIT:name>"])<EOL>orthologs[ortholog["<STR_LIT>"]] = {<EOL>"<STR_LIT>": norms["<STR_LIT>"],<EOL>"<STR_LIT>": norms["<STR_LIT>"],<EOL>}<EOL><DEDENT>return orthologs<EOL>
Get orthologs for given gene_id and species

    Canonicalize prior to ortholog query and decanonicalize
    the resulting ortholog

    Args:
        canonical_gene_id: canonical gene_id for which to retrieve ortholog
        species: target species for ortholog - tax id format TAX:<number>

    Returns:
        List[dict]: {'tax_id': <tax_id>, 'canonical': canonical_id, 'decanonical': decanonical_id}