app_dispatcher.py 249 B

1234567891011121314
  1. from connect import DataConsumer
  2. credentials = "host=localhost dbname=logistics user=postgres password=postgres_password"
  3. print('Start')
  4. consumer = DataConsumer(credentials)
  5. rows = consumer.getProductSet()
  6. for r in rows:
  7. print(r)
  8. print('End')