Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update_menu clarification #23

Open
ykharitonova opened this issue Mar 25, 2023 · 0 comments
Open

update_menu clarification #23

ykharitonova opened this issue Mar 25, 2023 · 0 comments

Comments

@ykharitonova
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant