Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: Fix update key when cache missed
Signed-off-by: phil-park <bakjeeone@hotmail.com>
  • Loading branch information
j1wonpark committed Aug 29, 2023
commit 3ae34b72769260fa852d31b846a01fd3a5e883b8
1 change: 1 addition & 0 deletions sdk/python/feast/infra/registry/proto_registry_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def wrapper(registry_proto: RegistryProto, project: str):
return cache_value
else:
cache_value = func(registry_proto, project)
Comment on lines +39 to +40
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Don't you need to update cache_key here as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@achals I'm sorry, you're right. I added commit b8a373f

cache_key = key
return cache_value

return wrapper
Expand Down