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

Function gone

web/pgadmin/utils/ajax.py:153–159  ·  view source on GitHub ↗

Create a response with HTTP status code 410 - GONE.

(errormsg='')

Source from the content-addressed store, hash-verified

151
152
153def gone(errormsg=''):
154 """Create a response with HTTP status code 410 - GONE."""
155 return make_json_response(
156 status=410,
157 success=0,
158 errormsg=errormsg
159 )
160
161
162def not_implemented(errormsg=_('Not implemented.'), info='',

Callers 15

nodesMethod · 0.90
nodesMethod · 0.90
wal_replayMethod · 0.90
check_pgpassMethod · 0.90
nodeMethod · 0.90
propertiesMethod · 0.90
get_sqlMethod · 0.90
sqlMethod · 0.90
nodeMethod · 0.90
propertiesMethod · 0.90
_get_update_sqlMethod · 0.90
sqlMethod · 0.90

Calls 1

make_json_responseFunction · 0.85

Tested by

no test coverage detected