Skip to content

saola_connector

SaolaConnector

Bases: ABC

Interface for saola connector.

export_data

export_data(query, distinct=None, limit=None, offset=None)

Exports given PQL as data frame with error handling.

verify_query

verify_query(query)

Verifies given query.

convert_filter_to_expressions abstractmethod

convert_filter_to_expressions(filter_)

Converts given pql filter to conditional expressions.

Parameters:

  • filter_ (PQLFilter) –

    PQL filter to convert.

Returns:

  • List[str]

    Conditional expressions resulting from pql filter.