AdhocServiceResultsMixin

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

Bases: object

Mixing for adhoc:service functionallity for results classes.

Methods Summary

get_adhocservice_by_id(self, id_) Return the adhoc service starting with the given service_def id.
get_adhocservice_by_ivoid(self, ivo_id) Return the adhoc service starting with the given ivo_id.
iter_adhocservices(self)

Methods Documentation

get_adhocservice_by_id(self, 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(self, ivo_id)[source]

Return the adhoc service starting with the given ivo_id.

Parameters:
ivoid : str

the ivoid of the service we want to have.

Returns:
Resource

The resource element describing the service.

iter_adhocservices(self)[source]