ODM2 / ODM2PythonAPI

A set of Python functions that provides data read/write access to an ODM2 database by leveraging SQLAlchemy.
http://odm2.github.io/ODM2PythonAPI/
BSD 3-Clause "New" or "Revised" License
4 stars 13 forks source link

Processing Level query by ID not working #128

Closed lsetiawan closed 6 years ago

lsetiawan commented 6 years ago

getProcessingLevels by ID not working since code is wrong. ProcessingLevel object has ProcessingLevelID not ProcessingLevelsID. See link or below:

if ids:
    q = q.filter(ProcessingLevels.ProcessingLevelsID.in_(ids))

I'll provide fix soon. Just want to put this here so I don't forget.

lsetiawan commented 6 years ago

Resolved by #129