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

Function get_params

web/pgadmin/tools/backup/tests/test_backup_utils.py:109–126  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

107
108
109def get_params(data):
110 out = 0
111 out_done = False
112 err = 0
113 err_done = False
114 if 'out' in data:
115 out = data['out'] and data['out']['pos']
116
117 if 'done' in data['out']:
118 out_done = data['out']['done']
119
120 if 'err' in data:
121 err = data['err'] and data['err']['pos']
122
123 if 'done' in data['err']:
124 err_done = data['err']['done']
125
126 return out, err, (out_done and err_done)

Callers 1

run_backup_jobFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected