Open bernhardreiter opened 7 years ago
There are some code places with are duplicates now and should be put in a common utility module.
For example:
grep -r "def read_con" . ./events_api/events_api/serve.py:def read_configuration() -> dict: ./tickets_api/tickets_api/serve.py:def read_configuration() -> dict: ./contactdb_api/contactdb_api/serve.py:def read_configuration() -> dict:
And various ways to do database queries with psycopg2.
Value: A better future fitness of the code.
There are some code places with are duplicates now and should be put in a common utility module.
For example:
grep -r "def read_con" . ./events_api/events_api/serve.py:def read_configuration() -> dict: ./tickets_api/tickets_api/serve.py:def read_configuration() -> dict: ./contactdb_api/contactdb_api/serve.py:def read_configuration() -> dict:
And various ways to do database queries with psycopg2.
Value: A better future fitness of the code.