MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / set_param

Function set_param

web/pgadmin/tools/backup/__init__.py:240–244  ·  view source on GitHub ↗
(key, param, assertion=True)

Source from the content-addressed store, hash-verified

238 args.append('--no-password')
239
240 def set_param(key, param, assertion=True):
241 if not assertion:
242 return
243 if data.get(key, None):
244 args.append(param)
245
246 def set_value(key, param, default_value=None, assertion=True):
247 if not assertion:

Callers 1

_get_args_params_valuesFunction · 0.70

Calls 2

appendMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected