abc module

The set of abstract definitions for the formatters module.

class jinete.storers.formatters.abc.StorerFormatter(result, remove_empty_routes=False)[source]

Bases: abc.ABC

Format a solution as a readable string.

__init__(result, remove_empty_routes=False)[source]

Construct a new object instance.

Parameters
  • result (Result) –

  • remove_empty_routes (bool) –

abstract format()[source]

Perform a format process.

Return type

str