AdhocServiceResultsMixin

class pyvo.dal.adhoc.AdhocServiceResultsMixin(votable, url=None, session=None)[source]

Bases: object

Mixin for adhoc:service functionallity for results classes.

Methods Summary

get_adhocservice_by_id(id_)

Return the adhoc service starting with the given service_def id.

get_adhocservice_by_ivoid(ivo_id)

Return the adhoc service starting with the given ivo_id.

iter_adhocservices()

Methods Documentation

get_adhocservice_by_id(id_)[source]

Return the adhoc service starting with the given service_def id.

Parameters
id_str

the service_def id of the service we want to have.

Returns
Resource

The resource element describing the service.

get_adhocservice_by_ivoid(ivo_id)[source]

Return the adhoc service starting with the given ivo_id.

Parameters
ivoidstr

the ivoid of the service we want to have.

Returns
Resource

The resource element describing the service.

iter_adhocservices()[source]