MCPcopy Create free account
hub / github.com/aio-libs/aiohttp / gen

Function gen

tools/gen.py:141–148  ·  view source on GitHub ↗
(dct)

Source from the content-addressed store, hash-verified

139
140
141def gen(dct):
142 out = io.StringIO()
143 out.write(HEADER)
144 missing = set()
145 gen_block(dct, "", set(), missing, out)
146 missing_labels = "\n".join(m for m in sorted(missing))
147 out.write(FOOTER.format(missing=missing_labels))
148 return out
149
150
151def gen_headers(headers):

Callers 1

gen.pyFile · 0.70

Calls 2

gen_blockFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected