MCPcopy
hub / github.com/tornadoweb/tornado / _normalize_name

Method _normalize_name

tornado/options.py:151–152  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

149 )
150
151 def _normalize_name(self, name: str) -> str:
152 return name.replace("_", "-")
153
154 def __getattr__(self, name: str) -> Any:
155 name = self._normalize_name(name)

Callers 7

__getattr__Method · 0.95
__setattr__Method · 0.95
__contains__Method · 0.95
defineMethod · 0.95
parse_command_lineMethod · 0.95
parse_config_fileMethod · 0.95
print_helpMethod · 0.95

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected