MCPcopy
hub / github.com/saltstack/salt / __getstate__

Method __getstate__

salt/master.py:197–206  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

195 SMaster.secrets = state["secrets"]
196
197 def __getstate__(self):
198 state = super().__getstate__()
199 state.update(
200 {
201 "key": self.key,
202 "master_key": self.master_key,
203 "secrets": SMaster.secrets,
204 }
205 )
206 return state
207
208 def __prep_key(self):
209 """

Callers 2

__getstate__Method · 0.45
test_getstateFunction · 0.45

Calls 1

updateMethod · 0.45

Tested by 1

test_getstateFunction · 0.36