app_dispatcher.py 467 B

12345678910111213141516171819
  1. from consumer.connect import DataConsumer
  2. from consumer.credentials import getCredentials
  3. from model.product import Product
  4. from basic_display import BasicDisplay
  5. display = BasicDisplay()
  6. display.title('Dispatcher application')
  7. credentials = getCredentials()
  8. consumer = DataConsumer(credentials)
  9. rows = consumer.getCompanyNames()
  10. print('Companies to be delivered :')
  11. for r in rows:
  12. print(r)
  13. display.notImplemented('dispatcher application')
  14. display.end()