code: def findOne(self, query_params):
      results = self.query(query_params)
      if len(results) == 0:
          raise EntityNotFound()
  
      if len(results) > 1:
          raise MoreThanOneEntityFound()
  
      return results[0]
  
imports: import os
  from kids.cache import cache
  from datetime import datetime
  from datmo.core.util.i18n import get
  from datmo.core.entity.model import Model
  from datmo.core.entity.code import Code
  from datmo.core.entity.environment import Environment
  from datmo.core.entity.file_collection import FileCollection
  from datmo.core.entity.task import Task
  from datmo.core.entity.snapshot import Snapshot
  from datmo.core.entity.user import User
  from datmo.core.util.exceptions import InputError, EntityNotFound, MoreThanOneEntityFound, DALNotInitialized
  from datmo.core.util.misc_functions import create_unique_hash
  from datmo.core.storage.driver.blitzdb_dal_driver import BlitzDBDALDriver
label_desc: Use image node_id 8 for calling the EntityMethodsCRUD obj's underlying member method code with example usage: obj.findOne(query_params) and returns: results