All Questions
1 question
2
votes
3
answers
166
views
refactoring function to have a robust design
i am having a simple app example here:
say i have this piece of code which handles requests from user to get a list of books stored in a database.
from .handlers import all_books
from flask import ...