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

Method load

httpie/config.py:103–108  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

101 return data
102
103 def load(self):
104 config_type = type(self).__name__.lower()
105 data = read_raw_config(config_type, self.path)
106 if data is not None:
107 data = self.pre_process_data(data)
108 self.update(data)
109
110 def save(self, *, bump_version: bool = False):
111 self.setdefault('__meta__', {})

Callers 9

configMethod · 0.45
read_raw_configFunction · 0.45
get_httpie_sessionFunction · 0.45
open_sessionFunction · 0.45
open_raw_sessionFunction · 0.45
test_fetchFunction · 0.45
test_fetch_broken_jsonFunction · 0.45
load_awesome_peopleFunction · 0.45

Calls 3

pre_process_dataMethod · 0.95
read_raw_configFunction · 0.85
updateMethod · 0.45

Tested by 5

open_sessionFunction · 0.36
open_raw_sessionFunction · 0.36
test_fetchFunction · 0.36
test_fetch_broken_jsonFunction · 0.36