docs: def get_units(**kwargs):
      """
          Returns all the units
      """
      units_list = db.DBSession.query(Unit).all()
      units = []
      for unit in units_list:
          new_unit = JSONObject(unit)
          units.append(new_unit)
  
      return units