We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a65f026 commit 1fe7bd1Copy full SHA for 1fe7bd1
codeflash/optimization/function_optimizer.py
@@ -198,7 +198,7 @@ def __init__(
198
test_cfg: TestConfig,
199
function_to_optimize_source_code: str = "",
200
function_to_tests: dict[str, set[FunctionCalledInTest]] | None = None,
201
- function_to_optimize_ast: ast.FunctionDef | None = None,
+ function_to_optimize_ast: ast.FunctionDef | ast.AsyncFunctionDef | None = None,
202
aiservice_client: AiServiceClient | None = None,
203
function_benchmark_timings: dict[BenchmarkKey, int] | None = None,
204
total_benchmark_timings: dict[BenchmarkKey, int] | None = None,
0 commit comments