class_docstr: Represents a collection of queued / pending MLflow Run operations.
class_docstr_tok: ["Represents","a","collection","of","queued","\/","pending","MLflow","Run","operations","."]
docstr: Enqueues a new pending logging operation for the associated MLflow Run.
docstr_tok: ["Enqueues","a","new","pending","logging","operation","for","the","associated","MLflow","Run","."]
code: def enqueue(
      self,
      params=None,
      tags=None,
      metrics=None,
      datasets=None,
      create_run=None,
      set_terminated=None,
  ):
      """
      Enqueues a new pending logging operation for the associated MLflow Run.
      """
      if create_run:
          assert (
              not self.create_run
          ), "Attempted to create the same run multiple times"
          self.create_run = create_run
      if set_terminated:
          assert (
              not self.set_terminated
          ), "Attempted to terminate the same run multiple times"
          self.set_terminated = set_terminated
  
      self.params_queue += params or []
      self.tags_queue += tags or []
      self.metrics_queue += metrics or []
      self.datasets_queue += datasets or []
  
imports: import logging
  import os
  from collections import namedtuple
  from concurrent.futures import ThreadPoolExecutor
  from itertools import zip_longest
  from typing import Any, Dict, List, Optional, Union
  from mlflow.entities import Metric, Param, RunTag
  from mlflow.entities.dataset_input import DatasetInput
  from mlflow.exceptions import MlflowException
  from mlflow.tracking.client import MlflowClient
  from mlflow.utils import _truncate_dict, chunk_list
  from mlflow.utils.time import get_current_time_millis
  from mlflow.utils.validation import MAX_DATASETS_PER_BATCH, MAX_ENTITIES_PER_BATCH, MAX_ENTITY_KEY_LENGTH, MAX_METRICS_PER_BATCH, MAX_PARAM_VAL_LENGTH, MAX_PARAMS_TAGS_PER_BATCH, MAX_TAG_VAL_LENGTH
label_desc: Use image node_id 2 for calling the _PendingRunOperations obj's underlying member method code with example usage: obj.enqueue(params, tags, metrics, datasets, create_run, set_terminated) without return types