Commit c0ca4470 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

chore: format

parent 5d3db15e
...@@ -730,6 +730,7 @@ def validate_url(url: Union[str, Sequence[str]]): ...@@ -730,6 +730,7 @@ def validate_url(url: Union[str, Sequence[str]]):
else: else:
return False return False
def search_web(engine: str, query: str) -> list[SearchResult]: def search_web(engine: str, query: str) -> list[SearchResult]:
"""Search the web using a search engine and return the results as a list of SearchResult objects. """Search the web using a search engine and return the results as a list of SearchResult objects.
Will look for a search engine API key in environment variables in the following order: Will look for a search engine API key in environment variables in the following order:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment