class_docstr: Implement a generic protocol to allow Orion to communicate using
  different storage backend
class_docstr_tok: ["Implement","a","generic","protocol","to","allow","Orion","to","communicate","using","different","storage","backend"]
docstr: Fetch all benchmarks that match the query
docstr_tok: ["Fetch","all","benchmarks","that","match","the","query"]
code: def fetch_benchmark(self, query: dict, selection: dict | None = None):
      """Fetch all benchmarks that match the query"""
      raise NotImplementedError()
  
imports: from __future__ import annotations
  import contextlib
  import copy
  import logging
  import typing
  from datetime import datetime
  from typing import Literal
  import orion.core
  from orion.core.io import resolve_config
  from orion.core.utils import GenericFactory
label_desc: Use image node_id 2 for calling the BaseStorageProtocol obj's underlying member method code with example usage: obj.fetch_benchmark(query, selection) without return types