MCPcopy Index your code
hub / github.com/aws/aws-cli / DocumentedShape

Class DocumentedShape

awscli/botocore/docs/utils.py:93–119  ·  view source on GitHub ↗

Use this class to inject new shapes into a model for documentation

Source from the content-addressed store, hash-verified

91
92
93class DocumentedShape(_DocumentedShape):
94 """Use this class to inject new shapes into a model for documentation"""
95
96 def __new__(
97 cls,
98 name,
99 type_name,
100 documentation,
101 metadata=None,
102 members=None,
103 required_members=None,
104 ):
105 if metadata is None:
106 metadata = []
107 if members is None:
108 members = []
109 if required_members is None:
110 required_members = []
111 return super().__new__(
112 cls,
113 name,
114 type_name,
115 documentation,
116 metadata,
117 members,
118 required_members,
119 )
120
121
122class AutoPopulatedParam:

Callers 8

test_include_inputMethod · 0.90
test_include_outputMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90
document_paginate_methodFunction · 0.90
document_wait_methodFunction · 0.90

Calls

no outgoing calls

Tested by 5

test_include_inputMethod · 0.72
test_include_outputMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72