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

Method items

tornado/options.py:179–184  ·  view source on GitHub ↗

An iterable of (name, value) pairs. .. versionadded:: 3.1

(self)

Source from the content-addressed store, hash-verified

177 return self.__setattr__(name, value)
178
179 def items(self) -> Iterable[Tuple[str, Any]]:
180 """An iterable of (name, value) pairs.
181
182 .. versionadded:: 3.1
183 """
184 return [(opt.name, opt.value()) for name, opt in self._options.items()]
185
186 def groups(self) -> Set[str]:
187 """The set of option-groups created by ``define``.

Callers 15

__repr__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
group_dictMethod · 0.80
as_dictMethod · 0.80
print_helpMethod · 0.80
environMethod · 0.80
_oauth_signatureFunction · 0.80
_oauth10a_signatureFunction · 0.80
__init__Method · 0.80

Calls 1

valueMethod · 0.45

Tested by 7

write_filesMethod · 0.64
test_itemsMethod · 0.64
test_response_timesMethod · 0.64
tearDownMethod · 0.64
test_format_dateMethod · 0.64
test_pickle_roundtripMethod · 0.64