ralsei.task.rowcontext

Module Contents

Classes

RowContext

Data

ROW_CONTEXT_ATRRIBUTE

Attribute that gets added to exceptions that occured in a row processing context.
Stores the popped fields of the aforementioned row

ROW_CONTEXT_VAR

ContextVar storing the popped fields of the currently processed row (used by ralsei.console.console for logging purposes)

API

ralsei.task.rowcontext.ROW_CONTEXT_ATRRIBUTE = '__ralsei_row_context'

Attribute that gets added to exceptions that occured in a row processing context.
Stores the popped fields of the aforementioned row

ralsei.task.rowcontext.ROW_CONTEXT_VAR : contextvars.ContextVar[dict] = 'ContextVar(...)'

ContextVar storing the popped fields of the currently processed row (used by ralsei.console.console for logging purposes)

class ralsei.task.rowcontext.RowContext(popped_fields: dict)

Initialization

static from_input_row(input_row: dict, popped_names: set[str]) ralsei.task.rowcontext.RowContext
__enter__() ralsei.task.rowcontext.RowContext
__exit__(exc_type, exc_value, traceback)