Return the last value seen for a feat or a collection of feats. :param keys: a string or list of strings with the properties to refresh. Default None all properties. If keys is a string, returns the value. If keys is a list, ret
(self, keys=None)
| 443 | return fut |
| 444 | |
| 445 | def recall(self, keys=None): |
| 446 | """Return the last value seen for a feat or a collection of feats. |
| 447 | |
| 448 | :param keys: a string or list of strings with the properties to refresh. |
| 449 | Default None all properties. |
| 450 | If keys is a string, returns the value. |
| 451 | If keys is a list, returns a dictionary. |
| 452 | :type keys: str, list, tuple, dict. |
| 453 | """ |
| 454 | |
| 455 | if keys: |
| 456 | if isinstance(keys, (list, tuple, set)): |
| 457 | return {key: self._lantz_features[key].get_cache(self) for key in keys} |
| 458 | return self._lantz_features[keys].get_cache(self) |
| 459 | return {key: value.get_cache(self) for key, value in self._lantz_features.keys()} |
| 460 | |
| 461 | @property |
| 462 | def feats(self): |