dl.helpers.legacy module¶
Legacy helpers for Data Lab. Most are deprecated.
- class dl.helpers.legacy.Querist(username='anonymous')[source]¶
Bases:
object
- checkAsyncJob()[source]¶
Check the first async job in the FIFO queue (if queue is not empty).
- Parameters:
None
- Returns:
Always returns a 3 tuple. If no async job was in the queue,
returns (None,None,None). If there was an async query in the
queue but its status did not return ‘COMPLETED’, re-inserts
the query at its old position in the queue, and returns
(None,None,None). If the status was ‘COMPLETED’, returns the
tuple (query result,outfmt,preview).
- property output_formats¶
Pretty-print to STDOUT the available outfmt values.
- Parameters:
None
- Return type:
Nothing