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 trials that are available to be executed by a worker,
  this includes new, suspended and interrupted trials
docstr_tok: ["Fetch","all","trials","that","are","available","to","be","executed","by","a","worker",",","this","includes","new",",","suspended","and","interrupted","trials"]
code: def fetch_pending_trials(self, experiment: Experiment) -> list[Trial]:
      """Fetch all trials that are available to be executed by a worker,
      this includes new, suspended and interrupted trials
      """
      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 19 for calling the BaseStorageProtocol obj's underlying member method code with example usage: obj.fetch_pending_trials(experiment) without return types