Pyvo

Latest version: v1.5.1

Safety actively analyzes 619462 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

1.6

================

Enhancements and Fixes
----------------------

- Add method ``list_services`` to ``pyvo.registry.regtap.RegistryResource`` that returns the
list of available services. Add ``keyword`` parameter in ``get_service`` which should match
``capability_description``. [505]

- Add optional ``capability_description`` parameter and a ``__repr__`` to ``pyvo.dal.query.DALService``
abstract base class [505]

- Make ``lax`` parameter default to False in registry get_service method [505]

- Making optional parameters keyword only throughout the public API. [507]

- registry.Ivoid now accepts multiple ivoids and will then match any of
them. [517]

Deprecations and Removals
-------------------------

1.5.1

==================

Bug Fixes
---------

- Fix ``pyvo.registry.Author`` to allow registry searches with author
constraints. [515]

- Backing out of having alt_identifier in RegistryResource throughout.
Use get_alt_identifier() instead [523]

- Fix ``maxrec=0`` special case for SIA2 queries. [520]

1.5

================

Enhancements and Fixes
----------------------

- ``registry.search`` now allows programmatic selection of the registry TAP
service endpoint with the ``choose_RegTAP_service`` function. [386]

- ``registry.search`` now introspects the TAP service's capabilities and
only offers extended functionality or optimisations if the required
features are present [386]

- Registry search now finds SIA v2 services. [422, 428]

- Made SIA2Service accept access urls without finding them in the service
capabilities. [500]

- Fix session inheritance in SIA2. [490]

- Add intersect modes for the spatial constraint in the registry module
``pyvo.registry.Spatial``. [495]

- Added ``alt_identifier``, ``created``, ``updated`` and ``rights`` to the
attributes of ``pyvo.registry.regtap.RegistryResource`` [492]

- Added the ``source_value`` and ``alt_identifier`` information to the verbose
output of ``describe()`` in ``regtap``. [492]

- Added convenience method DALResults.to_qtable() that returns an
astropy.table.QTable object. [384]

- TAP examples now support the continuation property. [483]

- Fix poor polling behavior when running an async query against a
TAP v1.1 service with unsupported WAIT parameter. [440]

- Adding python version to User-Agent. [452]

- Output of ``repr`` for DALResults instance now clearly shows it is a
DALResultsTable and not a generic astropy Table. [478]

- Adding support for the VODataService 1.2 nrows attribute on table
elements. [503]


Deprecations and Removals
-------------------------

- Classes ``SIAService``, ``SIAQuery``, ``SIAResults`` for SIA v2 have been
renamed to ``SIA2Service``, ``SIA2Query``, ``SIA2Results`` respectively
as well as the variable ``SIA_PARAMETERS_DESC`` to
``SIA2_PARAMETERS_DESC``. The old names now issue an
``AstropyDeprecationWarning``. [419]

- Class ``pyvo.vosi.vodataservice.Table`` has been renamed to
``VODataServiceTable`` to avoid sharing the name with a more generic
``astropy.table.Table`` while having different API. [484]

- Deprecate VOSI ``AvailabilityMixin``, this mean the deprecation of the
inherited ``availability``, ``available``, and ``up_since`` properties
of DAL service classes, too. [413]

- Deprecating ``ivoid2service`` because it is ill-defined. [439]

1.4.2

==================

- Fixed TapResults to inherit session. [447]

- Fix handling of nan values for Time properties in SIA2 records. [463]

- Fix SIA2 search to accept SkyCoord position inputs. [459]

- Favouring ``VOX:Image_AccessReference`` for data url for SIA1 queries. [445]

1.4.1

==================

- ``pyvo.registry.search`` now accepts an optional ``maxrec`` argument rather
than automatically passing the service's hard limit. [375]

- Fixed the RegTAP fragment for the discovery of EPN-TAP tables. [395]

- Removed defaults for optional SIAv1 and SSA query parameters to avoid
unnecessarily overriding the server-side defaults. [367]

- Error messages from uws jobs are now in job.errorsummary.message
rather than job.message (where one wouldn't expect them given the UWS
schema). [432]

- Avoid raising ``AttributeError`` for None responses. [392]

1.4

================

- Added the TAP Table Manipulation prototype (cadc-tb-upload). [274]

- More explicit exception messages where the payload is
sometimes considered if it can be presented properly (simple
body text or job error message). [355]

- we now ignore namespaces in xsi-type attributes; this is a lame fix
for services like ESO's and MAST's TAP, which do not use canonical
prefixes while astropy.utils.xml ignores namespaces. [323]

- Overhaul of the registry.regsearch as discussed in
https://blog.g-vo.org/towards-data-discovery-in-pyvo.html. This
should be backwards-compatible. [289]

- Versions of astropy <4.1 are no longer supported. [289]

- pyvo.dal warns on results with overflow status. [329]

- Allow session to be passed through in SSA, SCR, and DataLink. [327]

- pyvo.dal.tap.AsyncTAPJob treats parameter names as case-insensitive when
retrieving the query from the job record. [357]

- Adding support for prototype features via the ``prototype_feature``
decorator . [309]

- No longer formatting microseconds into SSA time literals. [351]

- Adding operating system to User-Agent. [344]

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.