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

Method document_client

awscli/botocore/docs/client.py:50–59  ·  view source on GitHub ↗

Documents a client and its methods :param section: The section to write to.

(self, section)

Source from the content-addressed store, hash-verified

48 self._service_name = self._client.meta.service_model.service_name
49
50 def document_client(self, section):
51 """Documents a client and its methods
52
53 :param section: The section to write to.
54 """
55 self._add_title(section)
56 self._add_class_signature(section)
57 client_methods = self._get_client_methods()
58 self._add_client_intro(section, client_methods)
59 self._add_client_methods(client_methods)
60
61 def _get_client_methods(self):
62 client_methods = get_instance_public_methods(self._client)

Callers 2

test_document_clientMethod · 0.80
client_apiMethod · 0.80

Calls 5

_add_titleMethod · 0.95
_add_class_signatureMethod · 0.95
_get_client_methodsMethod · 0.95
_add_client_introMethod · 0.95
_add_client_methodsMethod · 0.95

Tested by 1

test_document_clientMethod · 0.64