Skip to content

Get methods return incorrect #66

@Castronova

Description

@Castronova

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()

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions