Query

class servicemon.query.Query(service, coords, radius, out_dir, use_subdir=True, agent=None, tap_mode='async', save_results=True, verbose=False)[source]

Bases: object

Attributes Summary

stats

Methods Summary

compute_headers()

do_cone_query()

do_request(url[, params, agent])

do_tap_query_async_pyvo(tap_service)

do_tap_query_pyvo(tap_service)

do_xcone_query()

fix_white(s)

gather_response_metadata(response)

response: Either an http.client.HTTPResponse or a ???

getval(obj, key[, default])

Gets the value as either an attribute val or key val.

run()

stream_to_file(response)

Attributes Documentation

stats

Methods Documentation

compute_headers()[source]
do_cone_query()[source]
do_request(url, params=None, agent=None)[source]
do_tap_query_async_pyvo(tap_service)[source]
do_tap_query_pyvo(tap_service)[source]
do_xcone_query()[source]
fix_white(s)[source]
gather_response_metadata(response)[source]

response: Either an http.client.HTTPResponse or a ???

getval(obj, key, default=None)[source]

Gets the value as either an attribute val or key val.

run()[source]
stream_to_file(response)[source]