Introduce the DISPLAYED_FIELDS in formatter
This commit is contained in:
parent
b0349f0e8c
commit
30732318b5
4 changed files with 9 additions and 1 deletions
|
|
@ -74,7 +74,11 @@ class MandatoryFieldsNotFound(Exception):
|
|||
|
||||
|
||||
class IFormatter(object):
|
||||
# Tuple of fields mandatory to not crash
|
||||
MANDATORY_FIELDS = None
|
||||
# Tuple of displayed field. Set to None if all available fields are
|
||||
# displayed
|
||||
DISPLAYED_FIELDS = None
|
||||
|
||||
BOLD = ConsoleApplication.BOLD
|
||||
NC = ConsoleApplication.NC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue