MCPcopy
hub / github.com/httpie/cli / __iter__

Method __iter__

httpie/cli/utils.py:72–76  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

70 return item in self.load()
71
72 def __iter__(self) -> Iterator[T]:
73 if self.sort:
74 return iter(sorted(self.load()))
75 else:
76 return iter(self.load())
77
78 def __call__(self, parser, namespace, values, option_string=None):
79 setattr(namespace, self.dest, values)

Callers

nothing calls this directly

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected