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

Solution #744

Closed
wants to merge 2 commits into from
Closed

Solution #744

wants to merge 2 commits into from

Conversation

YuliiaSaliuta
Copy link

No description provided.

app/main.py Outdated
def wrapper(*args) -> Any:
if args in cache_dict:
print("Getting from cache")
return cache_dict[args]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't repeat yourself, you can use "return cache_dict[args]" only 1 time, after if else construction :) This was stated in the checklist at the end of the "Readme" for this task.

Copy link

@LiudmylaKulinchenko LiudmylaKulinchenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done! 😋

@YuliiaSaliuta YuliiaSaliuta closed this by deleting the head repository Sep 20, 2024
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

Successfully merging this pull request may close these issues.

3 participants