class documentation
class ContextConverter:
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 |
Prints the entirety of the converted pile |
| Method | process |
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 |
Undocumented |
| Instance Variable | io |
Undocumented |
| Instance Variable | pile |
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.