class documentation

class ContextConverter:

View In Hierarchy

Transforms output form context manager into final, printable versions of the containers.

Method __eq__ Undocumented
Method __init__ Takes a pile and the exporter object :type pile : list[context_mngr.BaseContainer] :param pile: output from the context manager. :type exporter : ExportManager :param exporter: Our ExportManager :type destination : str :param destination: Destination of the output file.
Method __repr__ Undocumented
Method __str__ Stringifies the entirety of the converted pile
Method print_all Prints the entirety of the converted pile
Method process_pile Processes the pile and writes the output to the io_output object. :rtype: StringIO
Method readlines Yields the converted pile line after line :rtype: list[str]
Instance Variable destination Undocumented
Instance Variable exporter Undocumented
Instance Variable io_initialized Undocumented
Instance Variable io_output Undocumented
Instance Variable pile Undocumented
def __eq__(self, other):

Undocumented

def __init__(self, pile, exporter, destination):

Takes a pile and the exporter object :type pile : list[context_mngr.BaseContainer] :param pile: output from the context manager. :type exporter : ExportManager :param exporter: Our ExportManager :type destination : str :param destination: Destination of the output file.

def __repr__(self):

Undocumented

def __str__(self):

Stringifies the entirety of the converted pile

def print_all(self):

Prints the entirety of the converted pile

def process_pile(self):

Processes the pile and writes the output to the io_output object. :rtype: StringIO

def readlines(self):

Yields the converted pile line after line :rtype: list[str]

destination =

Undocumented

exporter =

Undocumented

io_initialized: bool =

Undocumented

io_output =

Undocumented

pile =

Undocumented