code: def _get_instance(self, **kwargs):
          
          current_app.logger.info("Getting instance")
          current_app.logger.debug("kwargs: {}".format(kwargs))
  
          current_app.logger.info(
              "Loading instance: {}".format(kwargs['obj_id']))
          rec = self.db_query.get_instance(self.db_collection, kwargs['obj_id'])
          g._resource_instance = rec
          current_app.logger.debug(
              "g._resource_instance: {}".format(g._resource_instance))
          return rec
docs: Loads the record specified by the `obj_id` path in the url and
             stores it in g._resource_instance