class_docstr: Implementation of SequenceCollection interface for repository's sequences matching given query.
  
  Method `iter()` returns Sequence iterator, which yields Sequence matching query from currently
  iterated run's sequences. Once there are no sequences left in current run, repository's next run is considered.
  Method `iter_runs()` returns SequenceCollection iterator for repository's runs.
  
  Args:
       repo (:obj:`Repo`): Aim repository object.
       seq_cls (:obj:`type`): The collection's sequence class. Sequences not matching to seq_cls.allowed_dtypes
          will be skipped. `Sequence` by default, meaning all sequences will match.
       query (:obj:`str`, optional): Query expression. If specified, method `iter()` will skip sequences not matching
          the query. If not, method `iter()` will return iterator for all sequences in repository
          (that's a lot of sequences!).
code: def __init__(
      self,
      repo: "Repo",
      seq_cls=Sequence,
      query: str = "",
      report_mode: QueryReportMode = QueryReportMode.PROGRESS_BAR,
      timezone_offset: int = 0,
  ):
      self.repo: "Repo" = repo
      self.seq_cls = seq_cls
      self._item = "sequence"
      self.query = query
      self.report_mode = report_mode
      self.runs_proxy_cache = dict()
      self._timezone_offset = timezone_offset
  
imports: import logging
  from abc import abstractmethod
  from typing import Iterator
  from typing import TYPE_CHECKING
  from tqdm import tqdm
  from aim.sdk.sequence import Sequence
  from aim.sdk.types import QueryReportMode
  from aim.sdk.query_utils import RunView, SequenceView
  from aim.storage.query import RestrictedPythonQuery
label_desc: Use image node_id 1 to create a new QuerySequenceCollection object from inherited base classes: SequenceCollection with example: obj = QuerySequenceCollection(repo, seq_cls, query, report_mode, timezone_offset)