Lujeni / matterllo

Simple integration between Trello and Mattermost: send Trello activity notifications to Mattermost channels
MIT License
86 stars 25 forks source link

Smart parser #5

Closed Lujeni closed 7 years ago

Lujeni commented 8 years ago

The trello API is smart and each parser actions are very similar. Maybe use a metaclass to construct each Parser and DRY

class Parser(object):
    def update(self)
        pass

class CardParser(object):
    meta = Parser
    def updateCard(self):
         pass
Lujeni commented 7 years ago

rage quit :)