Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/saltstack/salt
/ setdefault
Method
setdefault
salt/utils/secret.py:140–141 ·
view source on GitHub ↗
(self, key, default=None)
Source
from the content-addressed store, hash-verified
138
return
MaskedDict({k: copy.deepcopy(v, memo)
for
k, v in dict.items(self)})
139
140
def
setdefault(self, key, default=None):
141
return
dict.setdefault(self, key, _mask_wrap(default))
142
143
144
class
MaskedList(list):
Callers
15
_reconcile_watch_req
Method · 0.45
_allow_aggregate
Method · 0.45
call
Method · 0.45
_check_requisites
Method · 0.45
_handle_extend
Method · 0.45
_handle_exclude
Method · 0.45
merge_included_states
Method · 0.45
fill_buckets
Method · 0.45
list_match
Method · 0.45
dict_match
Method · 0.45
finger
Method · 0.45
_return_pub_multi
Method · 0.45
Calls
1
_mask_wrap
Function · 0.85
Tested by
15
test_man_pages
Function · 0.36
_by_cmd
Function · 0.36
test_register_resources_updates_resource_index_when_minion_data_cache_disabled
Function · 0.36
_make_aes_funcs_for_resource_grains
Function · 0.36
test_register_resources_concurrent_workers_no_data_loss
Function · 0.36
_add_data
Function · 0.36
_add_data
Function · 0.36
_add_data
Function · 0.36
test_list_pkgs
Function · 0.36
test_list_pkgs_as_list
Function · 0.36
test_list_pkgs_no_context
Function · 0.36
opts
Function · 0.36