code: def query(self, query_params, sort_key=None, sort_order=None):
      return [
          self.entity_class(item)
          for item in self.driver.query(
              self.collection, query_params, sort_key, sort_order
          )
      ]
  
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 7 for calling the EntityMethodsCRUD obj's underlying member method code with example usage: obj.query(query_params, sort_key, sort_order) and returns: unknown