class_docstr: UMAP Mixin for automagic UMAPing
class_docstr_tok: ["UMAP","Mixin","for","automagic","UMAPing"]
code: def _get_embedding(self, kind="nodes"):
      if kind == "nodes":
          return self._node_embedding
      elif kind == "edges":
          return self._edge_embedding
      else:
          raise ValueError("kind must be one of `nodes` or `edges`")
  
imports: import copy
  from time import time
  from typing import TYPE_CHECKING, Any, Dict, Optional, Tuple, Union
  from inspect import getmodule
  import pandas
  from .None import constants
  from .constants import CUML, UMAP_LEARN
  from .feature_utils import FeatureMixin, Literal, XSymbolic, YSymbolic, prune_weighted_edges_df_and_relabel_nodes, resolve_feature_engine
  from .PlotterBase import Plottable, WeakValueDictionary
  from .util import check_set_memoize
  import logging
label_desc: Use image node_id 4 for calling the UMAPMixin obj's underlying member method code with example usage: obj._get_embedding(kind) and returns: self, self