DatalinkResultsMixin¶
- class pyvo.dal.adhoc.DatalinkResultsMixin(votable, *, url=None, session=None)[source]¶
Bases:
AdhocServiceResultsMixin
Mixin for datalink functionality for results classes.
Methods Summary
iter_datalinks
([preserve_order])Iterates over all datalinks in a DALResult.
Methods Documentation
- iter_datalinks(preserve_order=False)[source]¶
Iterates over all datalinks in a DALResult.
- Parameters:
- preserve_orderbool
True to return the datalinks keeping the order of the current rows. NOTE: There might be a performance penalty for keeping the order as one request per row is sent to the service. When the order of the datalinks is not important, the execution is optimized to query the service in batches.