Skip to content

Commit 6156185

Browse files
authored
spelling error fuction_to_call -> function_to_call (#28)
1 parent e48ed98 commit 6156185

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Basic_Samples/Functions/working_with_functions.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -615,13 +615,13 @@
615615
" # verify function exists\n",
616616
" if function_name not in available_functions:\n",
617617
" return \"Function \" + function_name + \" does not exist\"\n",
618-
" fuction_to_call = available_functions[function_name] \n",
618+
" function_to_call = available_functions[function_name] \n",
619619
" \n",
620620
" # verify function has correct number of arguments\n",
621621
" function_args = json.loads(response_message[\"function_call\"][\"arguments\"])\n",
622-
" if check_args(fuction_to_call, function_args) is False:\n",
622+
" if check_args(function_to_call, function_args) is False:\n",
623623
" return \"Invalid number of arguments for function: \" + function_name\n",
624-
" function_response = fuction_to_call(**function_args)\n",
624+
" function_response = function_to_call(**function_args)\n",
625625
" \n",
626626
" print(\"Output of function call:\")\n",
627627
" print(function_response)\n",
@@ -736,13 +736,13 @@
736736
" # verify function exists\n",
737737
" if function_name not in available_functions:\n",
738738
" return \"Function \" + function_name + \" does not exist\"\n",
739-
" fuction_to_call = available_functions[function_name] \n",
739+
" function_to_call = available_functions[function_name] \n",
740740
" \n",
741741
" # verify function has correct number of arguments\n",
742742
" function_args = json.loads(response_message[\"function_call\"][\"arguments\"])\n",
743-
" if check_args(fuction_to_call, function_args) is False:\n",
743+
" if check_args(function_to_call, function_args) is False:\n",
744744
" return \"Invalid number of arguments for function: \" + function_name\n",
745-
" function_response = fuction_to_call(**function_args)\n",
745+
" function_response = function_to_call(**function_args)\n",
746746
" \n",
747747
" print(\"Output of function call:\")\n",
748748
" print(function_response)\n",

0 commit comments

Comments
 (0)