set_search_properties (#595)

* update the signature of set_search_properties
This commit is contained in:
Chi Wang
2022-06-16 16:30:50 -07:00
committed by GitHub
parent 4c044e88bd
commit 1b40b4b3a6
5 changed files with 22 additions and 19 deletions

View File

@@ -203,7 +203,9 @@ def test_searcher():
points_to_evaluate=[{"a": 1, "b": 0.01}],
)
searcher.set_search_properties(
metric="m2", config=config, setting={"time_budget_s": 0}
metric="m2",
config=config,
time_budget_s=0,
)
c = searcher.suggest("t1")
print("t1", c)