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

Function form_master_password_response

web/pgadmin/browser/__init__.py:624–633  ·  view source on GitHub ↗
(existing=True, present=False, errmsg=None,
                                  keyring_name='', master_password_hook=False)

Source from the content-addressed store, hash-verified

622
623
624def form_master_password_response(existing=True, present=False, errmsg=None,
625 keyring_name='', master_password_hook=False):
626 return make_json_response(data={
627 'present': present,
628 'reset': existing,
629 'errmsg': errmsg,
630 'keyring_name': keyring_name,
631 'master_password_hook': master_password_hook,
632 'is_error': True if errmsg else False
633 })
634
635
636@blueprint.route("/check_corrupted_db_file",

Callers 1

set_master_passwordFunction · 0.85

Calls 1

make_json_responseFunction · 0.90

Tested by

no test coverage detected