docstr: Returns an iterator over all Lightly Worker runs for the user.
  
  Args:
      dataset_id:
          Target dataset ID. Optional. If set, only runs with the given dataset
          will be returned.
  
  Returns:
      Runs iterator.
docstr_tok: ["Returns","an","iterator","over","all","Lightly","Worker","runs","for","the","user",".","Args",":","dataset_id",":","Target","dataset","ID",".","Optional",".","If","set",",","only","runs","with","the","given","dataset","will","be","returned",".","Returns",":","Runs","iterator","."]
code: def get_compute_worker_runs_iter(
      self,
      dataset_id: Optional[str] = None,
  ) -> Iterator[DockerRunData]:
      """Returns an iterator over all Lightly Worker runs for the user.
  
      Args:
          dataset_id:
              Target dataset ID. Optional. If set, only runs with the given dataset
              will be returned.
  
      Returns:
          Runs iterator.
  
      """
      if dataset_id is not None:
          return utils.paginate_endpoint(
              self._compute_worker_api.get_docker_runs_query_by_dataset_id,
              dataset_id=dataset_id,
          )
      else:
          return utils.paginate_endpoint(
              self._compute_worker_api.get_docker_runs,
          )
  
imports: import copy
  import dataclasses
  import difflib
  import json
  import time
  from functools import partial
  from typing import Any, Callable, Dict, Iterator, List, Optional, Type, TypeVar, Union
  from lightly.api import utils
  from lightly.openapi_generated.swagger_client.api_client import ApiClient
  from lightly.openapi_generated.swagger_client.models import CreateDockerWorkerRegistryEntryRequest, DockerRunData, DockerRunScheduledCreateRequest, DockerRunScheduledData, DockerRunScheduledPriority, DockerRunScheduledState, DockerRunState, DockerWorkerConfigV3, DockerWorkerConfigV3CreateRequest, DockerWorkerConfigV3Docker, DockerWorkerConfigV3Lightly, DockerWorkerRegistryEntryData, DockerWorkerType, SelectionConfigV3, SelectionConfigV3Entry, SelectionConfigV3EntryInput, SelectionConfigV3EntryStrategy, TagData
  from lightly.openapi_generated.swagger_client.rest import ApiException
label_desc: Use image node_id 7 for calling the _ComputeWorkerMixin obj's underlying member method code with example usage: obj.get_compute_worker_runs_iter(dataset_id) and returns: utils, utils