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 0ba52ea commit 4bfb9dfCopy full SHA for 4bfb9df
codeflash/cli_cmds/cmd_init.py
@@ -855,7 +855,8 @@ def enter_api_key_and_save_to_rc() -> None:
855
856
857
def create_bubble_sort_file_and_test(args: Namespace) -> tuple[str, str]:
858
- bubble_sort_content = """def sorter(arr: list[int] | list[float]) -> list[int] | list[float]:
+ bubble_sort_content = """from typing import Union, List
859
+def sorter(arr: Union[List[int],List[float]]) -> Union[List[int],List[float]]:
860
for i in range(len(arr)):
861
for j in range(len(arr) - 1):
862
if arr[j] > arr[j + 1]:
0 commit comments