class_docstr: Helper class to time operations in pipeline e2e tests.
docstr: Creates a context object to measure time taken.
  
  Args:
    operation: A description of the operation being measured.
docstr_tok: ["Creates","a","context","object","to","measure","time","taken",".","Args",":","operation",":","A","description","of","the","operation","being","measured","."]
code: def __init__(self, operation: str):
      """Creates a context object to measure time taken.
  
      Args:
        operation: A description of the operation being measured.
      """
      self._operation = operation
  
file_path: tfx/tfx/orchestration/test_utils.py
imports: import contextlib
  import os
  import random
  import string
  import subprocess
  import time
  from absl import logging
  import docker
label_desc: Use image node_id 1 to create a new Timer object  with example: obj = Timer(operation)