class_docstr: The Sacred Mongo client allows to retrieve results from experiments tracked
  with Sacred from MongoDB.
docstr: Queries the experiments associated with the experiment set and returns
  all matching the query.
  
  Args:
      config: The query items that apply to the configuration.
      others: Optional additional query options.
  
  Returns:
      The sacred experiments found via the query.
docstr_tok: ["Queries","the","experiments","associated","with","the","experiment","set","and","returns","all","matching","the","query",".","Args",":","config",":","The","query","items","that","apply","to","the","configuration",".","others",":","Optional","additional","query","options",".","Returns",":","The","sacred","experiments","found","via","the","query","."]
code: def query(
      self,
      config: Dict[str, Any],
      others: Optional[Dict[str, Any]] = None,
  ) -> List[SacredExperiment]:
      """
      Queries the experiments associated with the experiment set and returns
      all matching the query.
  
      Args:
          config: The query items that apply to the configuration.
          others: Optional additional query options.
  
      Returns:
          The sacred experiments found via the query.
      """
      full_query = {
          **self.base_query,
          **{f"config.{k}": v for k, v in config.items()},
          **(others or {}),
      }
      infos = self.db.runs.find(full_query)
      return [
          SacredExperiment(info, self.db, self.fs) for info in infos
      ]
  
file_path: gluonts/src/gluonts/nursery/tsbench/src/tsbench/analysis/tracking/client.py
imports: from typing import Any, Dict, Iterator, List, Optional, Union
  import gridfs
  import pymongo
  from .experiment import SacredExperiment
label_desc: Use image node_id 3 for calling the SacredMongoClient obj's underlying member method code with example usage: obj.query(config, others) and returns: unknown