code: def get_bond_type_one_hot(
      bond: RDKitBond,
      allowable_set: List[str] = DEFAULT_BOND_TYPE_SET,
      include_unknown_set: bool = False,
  ) -> List[float]:
      """Get an one-hot feature of bond type.
  
      Parameters
      ---------
      bond: rdkit.Chem.rdchem.Bond
          RDKit bond object
      allowable_set: List[str]
          The bond types to consider. The default set is `["SINGLE", "DOUBLE", "TRIPLE", "AROMATIC"]`.
      include_unknown_set: bool, default False
          If true, the index of all types not in `allowable_set` is `len(allowable_set)`.
  
      Returns
      -------
      List[float]
          A one-hot vector of the bond type.
          If `include_unknown_set` is False, the length is `len(allowable_set)`.
          If `include_unknown_set` is True, the length is `len(allowable_set) + 1`.
      """
      return one_hot_encode(
          str(bond.GetBondType()), allowable_set, include_unknown_set
      )
  
imports: import os
  import logging
  from typing import List, Union, Tuple
  import numpy
  from deepchem.utils.typing import RDKitAtom, RDKitBond, RDKitMol
label_desc: Use image node_id 15 for calling a global function with example usage: get_bond_type_one_hot(bond, allowable_set, include_unknown_set) and returns: one_hot_encode