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

Method as_dict

tornado/options.py:216–221  ·  view source on GitHub ↗

The names and values of all options. .. versionadded:: 3.1

(self)

Source from the content-addressed store, hash-verified

214 }
215
216 def as_dict(self) -> Dict[str, Any]:
217 """The names and values of all options.
218
219 .. versionadded:: 3.1
220 """
221 return {opt.name: opt.value() for name, opt in self._options.items()}
222
223 def define(
224 self,

Callers 2

test_as_dictMethod · 0.80

Calls 2

itemsMethod · 0.80
valueMethod · 0.45

Tested by 2

test_as_dictMethod · 0.64