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

Method config

httpie/context.py:140–149  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

138
139 @property
140 def config(self) -> Config:
141 config = self._config
142 if not config:
143 self._config = config = Config(directory=self.config_dir)
144 if not config.is_new():
145 try:
146 config.load()
147 except ConfigFileError as e:
148 self.log_error(e, level=LogLevel.WARNING)
149 return config
150
151 @property
152 def devnull(self) -> IO:

Callers

nothing calls this directly

Calls 4

log_errorMethod · 0.95
ConfigClass · 0.85
is_newMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected