Skip to content

Commit ece58d1

Browse files
committed
fix: search returned type
1 parent ae1d40c commit ece58d1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

datashield/interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,13 @@ def list_taxonomies(self) -> list:
243243
"""
244244
raise NotImplementedError("DSConnection function not available")
245245

246-
def search_variables(self, query: str) -> list:
246+
def search_variables(self, query: str) -> dict:
247247
"""
248248
Search for variable names matching a given query across all tables in the data repository.
249249
250250
:param query: The query to search for in variable names, e.g., a full-text search and/or structured
251251
query (based on taxonomy terms), depending on the data repository's capabilities
252-
:return: The list of variable names matching the given query across all tables
252+
:return: The search result for variables matching the given query across all tables
253253
"""
254254
raise NotImplementedError("DSConnection function not available")
255255

0 commit comments

Comments
 (0)