MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / decode

Method decode

web/pgadmin/utils/ajax.py:40–49  ·  view source on GitHub ↗
(self, obj, **kwargs)

Source from the content-addressed store, hash-verified

38
39class ColParamsJSONDecoder(json.JSONDecoder):
40 def decode(self, obj, **kwargs):
41 retval = obj
42 try:
43 retval = json.JSONDecoder.decode(self, obj)
44 if isinstance(retval, str):
45 retval = obj
46 except (ValueError, TypeError, KeyError):
47 retval = obj
48
49 return retval
50
51
52def get_no_cache_header():

Callers 15

get_browser_versionFunction · 0.80
get_sb_package.pyFile · 0.80
get_my_ipFunction · 0.80
after_requestFunction · 0.80
set_master_passwordFunction · 0.80
runTestMethod · 0.80
setUpMethod · 0.80
setUpMethod · 0.80
setUpMethod · 0.80
_password_checkFunction · 0.80

Calls

no outgoing calls

Tested by 15

runTestMethod · 0.64
setUpMethod · 0.64
setUpMethod · 0.64
setUpMethod · 0.64
runTestMethod · 0.64
runTestMethod · 0.64
runTestMethod · 0.64
setUpMethod · 0.64
setUpMethod · 0.64
setUpMethod · 0.64