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

Function _delete_keys

web/pgadmin/tools/schema_diff/directory_compare.py:127–139  ·  view source on GitHub ↗

Delete keys from temp target parameters. :param temp_tgt_params: :type temp_tgt_params: :return:

(temp_tgt_params)

Source from the content-addressed store, hash-verified

125
126
127def _delete_keys(temp_tgt_params):
128 """
129 Delete keys from temp target parameters.
130 :param temp_tgt_params:
131 :type temp_tgt_params:
132 :return:
133 """
134 if 'gid' in temp_tgt_params:
135 del temp_tgt_params['gid']
136 if 'json_resp' in temp_tgt_params:
137 del temp_tgt_params['json_resp']
138 if 'add_not_exists_clause' in temp_tgt_params:
139 del temp_tgt_params['add_not_exists_clause']
140
141
142def _get_target_list(removed, target_dict, node, target_params, view_object,

Callers 1

_get_target_listFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected