Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
278
def
_parse_if_needed(value):
279
if
isinstance(value, datetime.datetime):
280
return
value
281
return
parse(value)
282
283
284
def
_serialize_if_needed(value, iso=False):
Callers
4
_is_expired
Method · 0.85
_retrieve_or_fail
Method · 0.85
refresh_credentials
Method · 0.85
load
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected