(self,
other, # type: Any
**kwargs # type: Any
)
| 414 | super(CacheInstance, self).__setitem__(item, v) |
| 415 | |
| 416 | def update(self, |
| 417 | other, # type: Any |
| 418 | **kwargs # type: Any |
| 419 | ): |
| 420 | # type: (...) -> None |
| 421 | for key, value in other.items(): |
| 422 | # We only update an element from `other` either if it does |
| 423 | # not exist in `self` or if the entry in `self` is older. |
| 424 | if key not in self or self._timetable[key] < other._timetable[key]: |
| 425 | dict.__setitem__(self, key, value) |
| 426 | self._timetable[key] = other._timetable[key] |
| 427 | |
| 428 | def iteritems(self): |
| 429 | # type: () -> Iterator[Tuple[str, Any]] |
nothing calls this directly
no test coverage detected