code: def test_hyperedges_direct(self):
      h = graphistry.hypergraph(hyper_df, verbose=False, direct=True)
  
      self.assertEqual(len(h["edges"]), 9)
      self.assertEqual(len(h["nodes"]), 9)
  
imports: import datetime, logging, pandas, pyarrow
  import pytest
  import graphistry, graphistry.plotter
  from common import NoAuthTestCase
label_desc: Use image node_id 2 for calling the TestHypergraphPlain obj's underlying member method code with example usage: obj.test_hyperedges_direct() without return types