docstr: Disable autologging.
docstr_tok: ["Disable","autologging","."]
code: def disable(self) -> None:
      """Disable autologging."""
      if self._run is None:
          return
  
      logger.info(f"Disabling {self._name} autologging.")
  
      if self.__run_created_by_autolog:
          self._run.finish()
          self.__run_created_by_autolog = False
  
      self._run = None
  
      self._patch_api.unpatch()
  
imports: import asyncio
  import functools
  import inspect
  import logging
  import sys
  from typing import Any, Dict, Optional, Sequence, TypeVar
  import wandb.sdk
  import wandb.util
  from wandb.sdk.lib import telemetry
  from wandb.sdk.lib.timer import Timer
label_desc: Use image node_id 6 for calling the AutologAPI obj's underlying member method code with example usage: obj.disable() without return types