Skip to content

Commit 2ba89e6

Browse files
authored
Merge pull request #237 from codeflash-ai/check-verify-setup
Quick fix for running verify-setup for py39
2 parents 309ec58 + 9279e2e commit 2ba89e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

codeflash/cli_cmds/cmd_init.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,8 @@ def enter_api_key_and_save_to_rc() -> None:
852852

853853

854854
def create_bubble_sort_file_and_test(args: Namespace) -> tuple[str, str]:
855-
bubble_sort_content = """def sorter(arr: list[int] | list[float]) -> list[int] | list[float]:
855+
bubble_sort_content = """from typing import Union, List
856+
def sorter(arr: Union[List[int],List[float]]) -> Union[List[int],List[float]]:
856857
for i in range(len(arr)):
857858
for j in range(len(arr) - 1):
858859
if arr[j] > arr[j + 1]:

0 commit comments

Comments
 (0)