MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / close

Function close

web/pgadmin/tools/debugger/__init__.py:946–960  ·  view source on GitHub ↗

close(trans_id) This method is used to close the asynchronous connection and remove the information of unique transaction id from the session variable. Parameters: trans_id - unique transaction id.

(trans_id)

Source from the content-addressed store, hash-verified

944 '/close/<int:trans_id>', methods=["DELETE"], endpoint='close'
945)
946def close(trans_id):
947 """
948 close(trans_id)
949
950 This method is used to close the asynchronous connection
951 and remove the information of unique transaction id from
952 the session variable.
953
954 Parameters:
955 trans_id
956 - unique transaction id.
957 """
958
959 close_debugger_session(trans_id)
960 return make_json_response(data={'status': True})
961
962
963@blueprint.route(

Callers

nothing calls this directly

Calls 2

make_json_responseFunction · 0.90
close_debugger_sessionFunction · 0.85

Tested by

no test coverage detected