MCPcopy Create free account
hub / github.com/apache/trafficserver / print_summary

Function print_summary

tools/records/convert2yaml.py:159–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157
158
159def print_summary():
160 if len(Remapped_Vars):
161 out = []
162 out.append(f'{Style.BRIGHT}{Fore.GREEN}{len(Remapped_Vars)} Renamed records:{Style.RESET_ALL}')
163 idx = 1
164 for k, v in Remapped_Vars.items():
165 out.append(f'{Style.BRIGHT}{Fore.GREEN}#{idx}{Style.RESET_ALL} : {k} -> {Style.BRIGHT}{Fore.GREEN}{v}{Style.RESET_ALL}')
166 idx = idx + 1
167
168 print(fancy_chain_print(out))
169
170
171def get_value(type, value):

Callers 1

convert2yaml.pyFile · 0.85

Calls 3

fancy_chain_printFunction · 0.85
itemsMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected