docstr: Deletes a directory if exists.
docstr_tok: ["Deletes","a","directory","if","exists","."]
code: def _delete_dir(self, path: Text) -> None:
      """Deletes a directory if exists."""
      if tf.io.gfile.isdir(path):
          tf.io.gfile.rmtree(path)
  
file_path: cloud/src/python/tensorflow_cloud/tuner/tests/integration/cloud_fit_integration_test.py
imports: import os
  from typing import Text
  import uuid
  from absl import logging
  import numpy
  import tensorflow
  from tensorflow_cloud.tuner import cloud_fit_client
  from tensorflow_cloud.tuner import cloud_fit_utils
  from tensorflow_cloud.utils import google_api_client
label_desc: Use image node_id 3 for calling the CloudFitIntegrationTest obj's underlying member method code with example usage: obj._delete_dir(path) without return types