Closed tcapelle closed 2 years ago
While Executing Cell #3: [0;31m---------------------------------------------------------------------------[0m [0;31mTypeError[0m Traceback (most recent call last) Input [0;32mIn [1][0m, in [0;36m<cell line: 1>[0;34m()[0m [0;32m----> 1[0m [43mg[49m[43m([49m[38;5;124;43m'[39;49m[38;5;124;43mhola[39;49m[38;5;124;43m'[39;49m[43m)[49m Input [0;32mIn [1][0m, in [0;36mg[0;34m(x)[0m [1;32m 1[0m [38;5;28;01mdef[39;00m [38;5;21mg[39m(x): [0;32m----> 2[0m [38;5;28;01mreturn[39;00m [43mf[49m[43m([49m[43mx[49m[43m)[49m [38;5;241m*[39m [38;5;241m2[39m Input [0;32mIn [1][0m, in [0;36mf[0;34m(x)[0m [1;32m 1[0m [38;5;28;01mdef[39;00m [38;5;21mf[39m(x:[38;5;28mint[39m): [0;32m----> 2[0m [38;5;28;01mreturn[39;00m [43mx[49m[43m [49m[38;5;241;43m+[39;49m[43m [49m[38;5;241;43m1[39;49m [0;31mTypeError[0m: can only concatenate str (not "int") to str
----> 1 g('hola') Input In [1], in g(x) 1 def g(x): ----> 2 return f(x) * 2 Input In [1], in f(x) 1 def f(x:int): ----> 2 return x + 1
The following notebooks failed to run: -/Users/tcapelle/wandb/nb_helpers/tests/data/dummy_folder/fail_nb.ipynb TypeError in /Users/tcapelle/wandb/nb_helpers/tests/data/dummy_folder/fail_nb.ipynb: