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
Right now it only works with functions returning dicts and knows the keys if a param called keys is passed. Some modifications to improve its flexibility:
Param to the decorator to choose which param is receiving the keys.
Check how to make it work when returning pairs.
also cached decorator can be modified to support which attribute wants to be used as a key.
The text was updated successfully, but these errors were encountered:
Right now it only works with functions returning dicts and knows the keys if a param called keys is passed. Some modifications to improve its flexibility:
Check how to make it work when returning pairs.The text was updated successfully, but these errors were encountered: