Skip to content

Commit afde233

Browse files
explicitly&correctly define the shape of gather response type
1 parent 16ae109 commit afde233

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/web_search/search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __init__(self, config: WebSearchConfig | None = None):
2929
# User-supplied plugins
3030
self.plugins = [p for p in self.config.plugins if isinstance(p, PluginSearch)]
3131

32-
def gather(self) -> Generator[BaseSearch]:
32+
def gather(self) -> Generator[BaseSearch, None, None]:
3333
"""
3434
Gather the relevant search tasks/logic and plugin
3535
"""

0 commit comments

Comments
 (0)