ping

gwdatafind.ping(host=None, session=None, **request_kw)

Ping the GWDataFind host to test for life.

Parameters
  • host (str, optional) – the URL/name of the GWDataFind host to query; if not given get_default_host() will be used to discover the default host.

  • session (requests.Session, optional) – the connection session to use; if not given, a igwn_auth_utils.requests.Session will be created on-the-fly

  • **request_kw – other keywords are passed to igwn_auth_utils.requests.get()

Raises

requests.RequestsException – if the request fails for any reason