We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c6b8dc commit aec4772Copy full SHA for aec4772
hepdata_cli/api.py
@@ -86,7 +86,7 @@ def find(self, query, keyword=None, ids=None, max_matches=MAX_MATCHES, matches_p
86
elif format in (set, tuple):
87
return format(find_results)
88
else:
89
- raise TypeError(f"Cannot return results in specfied format: {format}. Allowed formats are: {str}, {list}.")
+ raise TypeError(f"Cannot return results in specfied format: {format}. Allowed formats are: {str}, {list}, {set}, {tuple}.")
90
91
def download(self, id_list, file_format=None, ids=None, table_name='', download_dir='./hepdata-downloads'):
92
"""
0 commit comments