jbarnett 7/18/2016
To Do:
- optional specify object type id in query / currently returning all objects
- if bad data in request (HTTP 400), don't partially create host during POST / maybe some pre-check validation?
Fixed: check if host exists before hitting /hosts/ and error appropriately Fix querying old/invalid host/id error Fix deleting old/invalid host/id error Add check to set_host_serial_num to verify for existence of serial_num Add to comment functionality Removed reqparse - slated for deprecation. Using request.form instead. close connections properly. Using flask's g session based object. error handling move credentials out of Dbconnect class