<filename>12_data_persistence/sqlalchemy_inventory_query_filter.py
#!/usr/bin/env python

from sqlalchemy_inventory_definition import session, OperatingSystem

for os in session.query(OperatingSystem).filter(OperatingSystem.name.like('Lin%')):
    print (os)

<filename>12_data_persistence/sqlalchemy_inventory_query_filter.py
#!/usr/bin/env python

from sqlalchemy_inventory_definition import session, OperatingSystem

for os in session.query(OperatingSystem).filter(OperatingSystem.name.like('Lin%')):
    print (os)

#!/usr/bin/env python