backend.pql_queries.declarative_queries¶
Queries that can be used to get log-skeleton related data from celonis.
Attributes¶
Functions¶
|
Formats the DataFrame into a graph and table structure. |
|
Compute Always-Before summary using PQL. |
|
Compute Always-After summary using PQL. |
Module Contents¶
- type backend.pql_queries.declarative_queries.TableType = Dict[str, Any]¶
- type backend.pql_queries.declarative_queries.GraphType = Dict[str, Any]¶
- type backend.pql_queries.declarative_queries.ReturnGraphType = Dict[str, List[TableType] | List[GraphType]]¶
- backend.pql_queries.declarative_queries.format_graph_and_table(curr_df: pandas.DataFrame) ReturnGraphType ¶
Formats the DataFrame into a graph and table structure.
- Parameters:
curr_df (pd.DataFrame) – The DataFrame to format.
- Returns:
A dictionary containing the formatted graph and table.
- Return type:
ReturnGraphType
- backend.pql_queries.declarative_queries.get_always_before_relation(celonis: backend.celonis_connection.celonis_connection_manager.CelonisConnectionManager) ReturnGraphType ¶
Compute Always-Before summary using PQL.
- Parameters:
celonis (CelonisConnectionManager) – the celonis connection
- Returns:
A dictionary containing the formatted graph and table.
- Return type:
ReturnGraphType
- backend.pql_queries.declarative_queries.get_always_after_relation(celonis: backend.celonis_connection.celonis_connection_manager.CelonisConnectionManager) ReturnGraphType ¶
Compute Always-After summary using PQL.
- Parameters:
celonis (CelonisConnectionManager) – the celonis connection
- Returns:
A dictionary containing the formatted graph and table.
- Return type:
ReturnGraphType