mathysgrapotte commited on
Commit
ccceb10
·
1 Parent(s): fe5b81a

add type hints for serach ontology

Browse files
Files changed (1) hide show
  1. tools/fetch_ontology_tools.py +1 -1
tools/fetch_ontology_tools.py CHANGED
@@ -22,7 +22,7 @@ def load_edam_ontology():
22
  return None
23
 
24
  @tool
25
- def search_edam_ontology_by_search_term(search_term: str = None) -> list:
26
  """
27
  Generic function to search by EDAM entity type using native search. The native search is strict so you need to provide single word search terms (for example: 'fasta').
28
 
 
22
  return None
23
 
24
  @tool
25
+ def search_edam_ontology_by_search_term(search_term: str = None) -> list[str]:
26
  """
27
  Generic function to search by EDAM entity type using native search. The native search is strict so you need to provide single word search terms (for example: 'fasta').
28