code: def _construct_bond_feature(bond: RDKitBond) -> np.ndarray:
      """Construct a bond feature from a RDKit bond object.
  
      Parameters
      ---------
      bond: rdkit.Chem.rdchem.Bond
          RDKit bond object
  
      Returns
      -------
      np.ndarray
          A one-hot vector of the bond feature.
  
      """
      bond_type = get_bond_type_one_hot(bond)
      same_ring = get_bond_is_in_same_ring_one_hot(bond)
      conjugated = get_bond_is_conjugated_one_hot(bond)
      stereo = get_bond_stereo_one_hot(bond)
      return np.concatenate([bond_type, same_ring, conjugated, stereo])
  
imports: from typing import List, Tuple
  import numpy
  from deepchem.utils.typing import RDKitAtom, RDKitBond, RDKitMol
  from deepchem.feat.graph_data import GraphData
  from deepchem.feat.base_classes import MolecularFeaturizer
  from deepchem.utils.molecule_feature_utils import one_hot_encode
  from deepchem.utils.molecule_feature_utils import get_atom_type_one_hot
  from deepchem.utils.molecule_feature_utils import construct_hydrogen_bonding_info
  from deepchem.utils.molecule_feature_utils import get_atom_hydrogen_bonding_one_hot
  from deepchem.utils.molecule_feature_utils import get_atom_hybridization_one_hot
  from deepchem.utils.molecule_feature_utils import get_atom_total_num_Hs_one_hot
  from deepchem.utils.molecule_feature_utils import get_atom_is_in_aromatic_one_hot
  from deepchem.utils.molecule_feature_utils import get_atom_chirality_one_hot
  from deepchem.utils.molecule_feature_utils import get_atom_formal_charge
  from deepchem.utils.molecule_feature_utils import get_atom_partial_charge
  from deepchem.utils.molecule_feature_utils import get_atom_total_degree_one_hot
  from deepchem.utils.molecule_feature_utils import get_bond_type_one_hot
  from deepchem.utils.molecule_feature_utils import get_bond_is_in_same_ring_one_hot
  from deepchem.utils.molecule_feature_utils import get_bond_is_conjugated_one_hot
  from deepchem.utils.molecule_feature_utils import get_bond_stereo_one_hot
  from deepchem.utils.molecule_feature_utils import get_atom_formal_charge_one_hot
  from deepchem.utils.molecule_feature_utils import get_atom_implicit_valence_one_hot
  from deepchem.utils.molecule_feature_utils import get_atom_explicit_valence_one_hot
  from deepchem.utils.rdkit_utils import compute_all_pairs_shortest_path
  from deepchem.utils.rdkit_utils import compute_pairwise_ring_info
label_desc: Use image node_id 2 for calling a global function with example usage: _construct_bond_feature(bond) and returns: np