Interface

class pyvo.io.vosi.voresource.Interface(*args, **kwargs)[source]

Bases: pyvo.utils.xml.elements.Element

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

A description of a service interface.

Since this type is abstract, one must use an Interface subclassto describe an actual interface.

Additional interface subtypes (beyond WebService and WebBrowser) are defined in the VODataService schema.

Attributes Summary

accessurls

A list of access urls in the interface.

resulttype

role

securitymethods

the mechanism the client must employ to gain secure access to the service.

version

Methods Summary

describe()

Prints out a human readable description

register_xsi_type(typename)

Decorator factory for registering subtypes

Attributes Documentation

accessurls

A list of access urls in the interface. Must contain only AccessURL objects.

resulttype
role
securitymethods

the mechanism the client must employ to gain secure access to the service.

when more than one method is listed, each one must be employed to gain access.

version

Methods Documentation

describe()[source]

Prints out a human readable description

classmethod register_xsi_type(typename)[source]

Decorator factory for registering subtypes