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

Function wrapper

awscli/botocore/context.py:120–124  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

118 def decorator(func):
119 @wraps(func)
120 def wrapper(*args, **kwargs):
121 with start_as_current_context():
122 if hook:
123 hook()
124 return func(*args, **kwargs)
125
126 return wrapper
127

Callers

nothing calls this directly

Calls 1

start_as_current_contextFunction · 0.85

Tested by

no test coverage detected