Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/aws-cli
/ __enter__
Method
__enter__
tests/utils/botocore/__init__.py:593–595 ·
view source on GitHub ↗
(self, *args, **kwargs)
Source
from the content-addressed store, hash-verified
591
)
592
593
def
__enter__(self, *args, **kwargs):
594
mock = self.datetime_patcher.start()
595
mock.utcnow.return_value = self.date
596
597
def
__exit__(self, *args, **kwargs):
598
self.datetime_patcher.stop()
Callers
nothing calls this directly
Calls
1
start
Method · 0.45
Tested by
no test coverage detected