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.
2 parents 309ec58 + 9279e2e commit 2ba89e6Copy full SHA for 2ba89e6
codeflash/cli_cmds/cmd_init.py
@@ -852,7 +852,8 @@ def enter_api_key_and_save_to_rc() -> None:
852
853
854
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]:
+ bubble_sort_content = """from typing import Union, List
856
+def sorter(arr: Union[List[int],List[float]]) -> Union[List[int],List[float]]:
857
for i in range(len(arr)):
858
for j in range(len(arr) - 1):
859
if arr[j] > arr[j + 1]:
0 commit comments