docstr: Remove the specified entries from the queue by stash revision.
docstr_tok: ["Remove","the","specified","entries","from","the","queue","by","stash","revision","."]
code: def remove_revs(self, stash_revs: Iterable[ExpStashEntry]):
      """Remove the specified entries from the queue by stash revision."""
      for index in sorted(
          (
              entry.stash_index
              for entry in stash_revs
              if entry.stash_index is not None
          ),
          reverse=True,
      ):
          self.drop(index)
  
imports: import re
  from contextlib import contextmanager
  from typing import Dict, Iterable, Iterator, NamedTuple, Optional
  from scmrepo.git import Stash
  from dvc.exceptions import DvcException
  from dvc.log import logger
  from dvc_objects.fs.local import localfs
  from dvc_objects.fs.utils import as_atomic
  from .refs import APPLY_HEAD, APPLY_STASH
label_desc: Use image node_id 3 for calling the ExpStash obj's underlying member method code with example usage: obj.remove_revs(stash_revs) without return types