TAPQueryRunner#

class mobu.services.business.tapqueryrunner.TAPQueryRunner(*, options, user, events, logger, flock)#

Bases: TAPBusiness

Run queries against TAP.

Parameters:
  • options (TAPQueryRunnerOptions) – Configuration options for the business.

  • user (AuthenticatedUser) – User with their authentication token to use to run the business.

  • events (Events) – Event publishers.

  • logger (BoundLogger) – Logger to use to report the results of business.

  • flock (str | None) – Flock that is running this business, if it is running in a flock.

Methods Summary

get_next_query()

Get the next TAP query to run.

Methods Documentation

get_next_query()#

Get the next TAP query to run.

Returns:

TAP query as a string.

Return type:

str