class_docstr: Base class for all plugins.
docstr: Detach a plugin from the `Pluggable` it is attached to.
docstr_tok: ["Detach","a","plugin","from","the","`","Pluggable","`","it","is","attached","to","."]
code: def detach(self):
      """Detach a plugin from the `Pluggable` it is attached to."""
      assert self._pluggable is not None
  
      for handle in self._hook_handles:
          handle.remove()
  
      self._pluggable = None
      self._hook_handles = []
  
imports: import logging
  from collections import defaultdict
  from inspect import isclass, signature
  from itertools import count
  from queue import Queue
  from typing import Any, Callable, Dict, Iterator, List, NewType, Optional, Sequence, Set, Type, Union, cast
label_desc: Use image node_id 3 for calling the BasePlugin obj's underlying member method code with example usage: obj.detach() without return types