Capability

class pyvo.io.vosi.voresource.Capability(config=None, pos=None, _name='capability', standardID=None, **kwargs)[source]

Bases: pyvo.utils.xml.elements.Element

Capability element as described in http://www.ivoa.net/xml/VOResource/v1.0

a description of what the service does (in terms of context-specific behavior), and how to use it (in terms of an interface)

Attributes Summary

description(fget)
interfaces(fget) a description of how to call the service to access this capability
standardid(fget)
validationlevels(fget) A numeric grade describing the quality of the capability description and interface, when applicable, to be used to indicate the confidence an end-user can put in the resource as part of a VO application or research study.

Methods Summary

describe(self) Prints out a human readable description
register_xsi_type(typename) Decorator factory for registering subtypes

Attributes Documentation

description(fget)
interfaces(fget)

a description of how to call the service to access this capability

Since the Interface type is abstract, one must describe the interface using a subclass of Interface, denoting it via xsi:type.

Multiple occurances can describe different interfaces to the logically same capability–i.e. data or functionality. That is, the inputs accepted and the output provides should be logically the same. For example, a WebBrowser interface given in addition to a WebService interface would simply provide an interactive, human-targeted interface to the underlying WebService interface.

standardid(fget)
validationlevels(fget)

A numeric grade describing the quality of the capability description and interface, when applicable, to be used to indicate the confidence an end-user can put in the resource as part of a VO application or research study.

Methods Documentation

describe(self)[source]

Prints out a human readable description

classmethod register_xsi_type(typename)[source]

Decorator factory for registering subtypes