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

Method stub

tests/utils/botocore/__init__.py:559–562  ·  view source on GitHub ↗
(self, service_name, *args, **kwargs)

Source from the content-addressed store, hash-verified

557 return client
558
559 def stub(self, service_name, *args, **kwargs):
560 if service_name not in self._client_stubs:
561 self.create_client(service_name, *args, **kwargs)
562 return self._client_stubs[service_name]
563
564 def activate_stubs(self):
565 for stub in self._client_stubs.values():

Callers 4

create_sessionMethod · 0.95

Calls 1

create_clientMethod · 0.95

Tested by 4

create_sessionMethod · 0.76