Propose a data access module immune to injection
Propose a data access module immune to injection

filter_by() in sqlalchemy use key word arguments. Previously, we used filter(), which use SQL literal.

session is a global variable in this module. Every data access through this module. So the session is not spread all over our control.py.
henn/hil,CCI-MOC/haas,kylehogan/hil,SahilTikale/haas,henn/haas,henn/hil_sahil,meng-sun/hil,kylehogan/hil,SahilTikale/switchHaaS,kylehogan/haas,henn/hil,apoorvemohan/haas,lokI8/haas,meng-sun/hil,apoorvemohan/haas,henn/hil_sahil