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 dfaa1cb + 2ba89e6 commit 130870eCopy full SHA for 130870e
codeflash/cli_cmds/cmd_init.py
@@ -848,7 +848,8 @@ def enter_api_key_and_save_to_rc() -> None:
848
849
850
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]:
+ bubble_sort_content = """from typing import Union, List
852
+def sorter(arr: Union[List[int],List[float]]) -> Union[List[int],List[float]]:
853
for i in range(len(arr)):
854
for j in range(len(arr) - 1):
855
if arr[j] > arr[j + 1]:
0 commit comments