Skip to content

Commit

Permalink
add default_searchterm to examples;
Browse files Browse the repository at this point in the history
  • Loading branch information
m-wrzr committed Jan 2, 2025
1 parent 0ab4733 commit 506a1ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ def search_kwargs(searchterm: str, **kwargs) -> List[str]:
),
dict(
search_function=search,
default="initial",
default_searchterm="initial",
default_options=["inital", "list", "of", "options"],
key=f"{search.__name__}_default_options",
label=f"{search.__name__}_default_options",
Expand Down

0 comments on commit 506a1ea

Please sign in to comment.