code: def get(self, id):
          
          with rconnect() as conn:
              if id is None:
                  raise ValueError
  
              if isinstance(id, uuid.UUID):
                  id = str(id)
  
              if type(id) != str and type(id) != unicode:
                  raise ValueError
  
              try:
                  query = self._base().get(id)
                  log.debug(query)
                  rv = query.run(conn)
              except ReqlOpFailedError as e:
                  log.warn(e)
                  raise
              except Exception as e:
                  log.warn(e)
                  raise
              if rv is not None:
                  return self._model(rv)
  
              return None
docs: Get a single instance by pk id.
  
              :param id: The UUID of the instance you want to retrieve.