code: def test_conditional_graph(self):
      # simple test to see if DGL graph was set during different featurization + umap strategies
      g = (
          graphistry.bind(source=src, destination=dst)
          .edges(edf)
          .nodes(edf, src)
      )
      for kind in ["nodes", "edges"]:
          g2 = g.conditional_graph(src, dst, kind=kind)
          assert "_probs" in g2._edges, "enrichment has not taken place"
  
file_path: pygraphistry/graphistry/tests/test_conditional.py
imports: import unittest
  import pytest
  import graphistry
  import pandas
  import logging
label_desc: Use image node_id 1 for calling the TestConditional obj's underlying member method code with example usage: obj.test_conditional_graph() without return types