related to #65
q = self._session.query(Methods)
if ids: q = q.filter(Methods.MethodID.in_(ids))
if codes: q = q.filter(Methods.MethodCode.in_(codes))
if type: q = q.filter_by(MethodTypeCV=type)
try:
q.all()
except:
return None
The query is not being returned. change q.all() to return q.all()