Skip to content

Commit 130870e

Browse files
authored
Merge branch 'main' into fix-formatter-during-runtime
2 parents dfaa1cb + 2ba89e6 commit 130870e

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
@@ -848,7 +848,8 @@ def enter_api_key_and_save_to_rc() -> None:
848848

849849

850850
def create_bubble_sort_file_and_test(args: Namespace) -> tuple[str, str]:
851-
bubble_sort_content = """def sorter(arr: list[int] | list[float]) -> list[int] | list[float]:
851+
bubble_sort_content = """from typing import Union, List
852+
def sorter(arr: Union[List[int],List[float]]) -> Union[List[int],List[float]]:
852853
for i in range(len(arr)):
853854
for j in range(len(arr) - 1):
854855
if arr[j] > arr[j + 1]:

0 commit comments

Comments
 (0)