Skip to content

pql_debugger

PQLDebugger

Class for debugging PQL queries.

debug cached staticmethod

debug(client, data_model_id, query, query_type)

Debugs given query and returns formatted error messages.

Parameters:

  • client (Client) –

    Client to call pql language API.

  • data_model_id (str) –

    Data model to run query on.

  • query (str) –

    Query to verify.

  • query_type (PqlQueryType) –

    Type of query.

Returns:

  • List[str]

    List of error messages.