code: def test_batched_ego_graphs(client_with_edgelist_csv_loaded):
      (client, test_data) = client_with_edgelist_csv_loaded
  
      extracted_gid = client.extract_subgraph()
  
      # These are known vertex IDs in the default graph loaded
      seeds = [0, 1, 2]
      results_lists = client.batched_ego_graphs(
          seeds, radius=1, graph_id=extracted_gid
      )
  
      (srcs, dsts, weights, seeds_offsets) = results_lists
  
      assert isinstance(srcs, Sequence)
      assert isinstance(dsts, Sequence)
      assert isinstance(weights, Sequence)
      assert len(srcs) == len(dsts) == len(weights)
  
      assert isinstance(seeds_offsets, Sequence)
      assert len(srcs) == seeds_offsets[-1]
  
imports: from collections.abc import Sequence
  from pathlib import Path
  import pytest
  from .None import data
label_desc: Use image node_id 18 for calling a global function with example usage: test_batched_ego_graphs(client_with_edgelist_csv_loaded) without return types