We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b405026 commit 98420e1Copy full SHA for 98420e1
src/dynamodb_encryption_sdk/material_providers/most_recent.py
@@ -197,18 +197,6 @@ def _ttl_action(self):
197
198
return TtlActions.EXPIRED
199
200
- def _can_use_current(self):
201
- # type: () -> bool
202
- """Determine if we can use the current known max version without asking the provider store.
203
-
204
- :returns: decision
205
- :rtype: bool
206
- """
207
- if self._version is None:
208
- return False
209
210
- return time.time() - self._last_updated < self._version_ttl
211
212
def _set_most_recent_version(self, version):
213
# type: (int) -> None
214
"""Set the most recent version and update the last updated time.
0 commit comments