Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/aws/aws-cli
/ __enter__
Method
__enter__
awscli/s3transfer/utils.py:399–401 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
397
self._fileobj.close()
398
399
def
__enter__(self):
400
self._open_if_needed()
401
return
self
402
403
def
__exit__(self, *args, **kwargs):
404
self.close()
Callers
nothing calls this directly
Calls
1
_open_if_needed
Method · 0.95
Tested by
no test coverage detected