Introduce the DISPLAYED_FIELDS in formatter
This commit is contained in:
parent
b0349f0e8c
commit
30732318b5
4 changed files with 9 additions and 1 deletions
|
|
@ -30,6 +30,7 @@ __all__ = ['Boobsize']
|
|||
|
||||
class GaugeFormatter(IFormatter):
|
||||
MANDATORY_FIELDS = ('name', 'object', 'sensors')
|
||||
DISPLAYED_FIELDS = self.MANDATORY_FIELDS + ('city', )
|
||||
|
||||
def start_format(self, **kwargs):
|
||||
# Name = 27 Object = 10 City = 10 Sensors = 33
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue