bi_etl.statement_queue module

Created on Mar 2, 2015

@author: Derek Wood

class bi_etl.statement_queue.StatementQueue(execute_with_binds=True)[source]

Bases: object

A queue of pending SQLAlchemy statements

__init__(execute_with_binds=True)[source]

Constructor

add_statement(key, stmt)[source]
append_values_by_key(key, values)[source]
static encapsulate_row_value_list(value_list: list) → str[source]
static encapsulate_value(value) → str[source]
execute(connection) → int[source]
execute_singly(connection) → int[source]
get_statement_by_key(key)[source]
iter_single_statements() → Generator[Tuple[Executable, Mapping[str, Any]], None, None][source]
print_details()[source]
values_str_list(rows, row_limit: int | None = None, size_soft_limit: int | None = None)[source]