choose_RegTAP_service¶
- pyvo.registry.choose_RegTAP_service(access_url)[source]¶
changes the RegTAP service used by
search()
to the one at access_url.By default, pyVO uses whatever is given in the environment variable
IVOA_REGISTRY
, defaulting to GAVO’s TAP service. In order to change the service used on the fly, always use this function in order to clear caches that need clearing.- Parameters:
- access_urlstr
The TAP access URL of the new RegTAP endpoints. To find alternate endpoints, try
regsearch(datamodel='regtap')
and look at.get_interface("tap").access_url
of the results.