Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce code duplication in backend parts #13

Open
bernhardreiter opened this issue Jun 13, 2017 · 0 comments
Open

Reduce code duplication in backend parts #13

bernhardreiter opened this issue Jun 13, 2017 · 0 comments

Comments

@bernhardreiter
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant