chore: format

This commit is contained in:
Timothy Jaeryang Baek committed 2026-05-09 15:25:27 +09:00
1 parent 46ff3abbb8
commit 7bcc0e2e5c
30 files changed
+155 -159

No files matched your search

@@ -37,9 +37,9 @@ def search_duckduckgo(
# Use the ddgs.text() method to perform the search
try:
kwargs = {"safesearch": "moderate", "max_results": count}
if backend and backend != "auto":
kwargs["backend"] = backend
kwargs = {'safesearch': 'moderate', 'max_results': count}
if backend and backend != 'auto':
kwargs['backend'] = backend
results = ddgs.text(query, **kwargs)
search_results = results if results is not None else []
except RatelimitException as e: