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

Function get_host_ip

web/pgadmin/misc/cloud/__init__.py:100–103  ·  view source on GitHub ↗

Get host IP Address

()

Source from the content-addressed store, hash-verified

98 methods=['GET'], endpoint='get_host_ip')
99@pga_login_required
100def get_host_ip():
101 """Get host IP Address"""
102 ip = get_my_ip()
103 return make_json_response(data=ip)
104
105
106@blueprint.route(

Callers

nothing calls this directly

Calls 2

get_my_ipFunction · 0.90
make_json_responseFunction · 0.90

Tested by

no test coverage detected