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 f8255fb commit 25cce0eCopy full SHA for 25cce0e
codeflash/result/critic.py
@@ -1,6 +1,6 @@
1
from __future__ import annotations
2
3
-from typing import TYPE_CHECKING
+from typing import TYPE_CHECKING, Optional
4
5
from codeflash.cli_cmds.console import logger
6
from codeflash.code_utils import env_utils
@@ -29,7 +29,7 @@ def speedup_critic(
29
candidate_result: OptimizedCandidateResult,
30
original_code_runtime: int,
31
best_runtime_until_now: int,
32
- disable_gh_action_noise: bool | None = None,
+ disable_gh_action_noise: Optional[bool] = None,
33
) -> bool:
34
"""Take in a correct optimized Test Result and decide if the optimization should actually be surfaced to the user.
35
0 commit comments