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

Function properties

web/pgadmin/tools/grant_wizard/__init__.py:253–267  ·  view source on GitHub ↗

It fetches the properties of object types and render into selection page of wizard

(sid, did, node_id, node_type)

Source from the content-addressed store, hash-verified

251@pga_login_required
252@check_precondition
253def properties(sid, did, node_id, node_type):
254 """It fetches the properties of object types
255 and render into selection page of wizard
256 """
257
258 res_data, msg = get_data(sid, did, node_id, node_type, server_info)
259
260 if res_data is None and isinstance(msg, Response):
261 return msg
262
263 return make_json_response(
264 result=res_data,
265 info=msg,
266 status=200
267 )
268
269
270def get_data(sid, did, node_id, node_type, server_data,

Callers

nothing calls this directly

Calls 2

make_json_responseFunction · 0.90
get_dataFunction · 0.70

Tested by

no test coverage detected