The following changes have been implemented:
-
docstring updates
-
services()
function to list available services, e.g.# List the available SIA services queryClient.services(svc_type="sia") # List the available USNO services, note the '%' matching metacharacter queryClient.services(name="usno%")
-
New
resolve
mode forservices()
call, e.g.# Get the serviceURL of the USNO-A2 table queryClient.services(name="usno/a2", mode="resolve")
-
Async SQL changes, use of mydb tables
-
Run queries written in SQL asynchronously, just like for ADQL queries, e.g.
#query = 'SELECT TOP 10 ra,dec,gmag,rmag,imag FROM smash_dr1.object' # AS BEFORE: ADQL query = 'SELECT ra,dec,gmag,rmag,imag FROM smash_dr1.object LIMIT 10' # NEW: SQL jobid = queryClient.query(query,async=True) queryClient.status(jobid) 'COMPLETED' results = queryClient.results(jobid)
-
disallow numeric table names in mydb
-
New
mydb_index()
method, e.g.# Index the table's "id" column queryClient.mydb_index('foo1', 'id') # Index and cluster the table by position queryClient.mydb_index('foo1', q3c='ra,dec', cluster=True)
-
Bug fixes to dropping mydb tables
-
Added non-default profile to
status()
call -
Sync timeout default changed to 300 sec
-
remove trailing
/
fromset_svc_url()
-
Removed astropy dependency import
-
Fixed POST calls to /queries call
- Allow q3c/htm/healpix functions in adql
- various bugfixes with get/put from/to vospace
-
docstring updates
-
improved login error msgs, removed debug print
-
made token optional for
logout()
-
remove trailing
/
fromset_svc_url()
- all of the above updates (where they apply)