You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the inconsistency between the project instructions and the docstring for the update_menu_dish function. the docstring for the update_menu_dish function states that If the field_key is invalid, return -2.
however, it seems that the autograder is expecting the "field_key" as the correct return value in this case.
Explanation:
In the docstring, when we said "If the field_key is invalid, return -2", we meant that if the name of the field itself is invalid, then return -2.
If the field_key is valid, but the corresponding field_info is invalid, then we return the name of the field.
The text was updated successfully, but these errors were encountered:
the inconsistency between the project instructions and the docstring for the
update_menu_dish
function. the docstring for theupdate_menu_dish
function states thatIf the field_key is invalid, return -2.
however, it seems that the autograder is expecting the
"field_key"
as the correct return value in this case.Explanation:
In the docstring, when we said
"If the field_key is invalid, return -2"
, we meant that if the name of the field itself is invalid, then return -2.If the
field_key
is valid, but the correspondingfield_info
is invalid, then we return the name of the field.The text was updated successfully, but these errors were encountered: