MCPcopy Create free account
hub / github.com/aws/aws-cli / _parse_if_needed

Function _parse_if_needed

awscli/botocore/credentials.py:278–281  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

276
277
278def _parse_if_needed(value):
279 if isinstance(value, datetime.datetime):
280 return value
281 return parse(value)
282
283
284def _serialize_if_needed(value, iso=False):

Callers 4

_is_expiredMethod · 0.85
_retrieve_or_failMethod · 0.85
refresh_credentialsMethod · 0.85
loadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected