class Command(BaseCommand): help = 'HP Alm <-> SDE sync utility.' def configure(self): alm_api = HPAlmAPIBase(self.config) self.hp_alm = HPAlmConnector(self.config, alm_api) def handle(self): self.hp_alm.initialize() self.hp_alm.synchronize() return True
def configure(self): alm_api = HPAlmAPIBase(self.config) self.hp_alm = HPAlmConnector(self.config, alm_api)