class_docstr: Tests of FullBatchNodeGenerator class
class_docstr_tok: ["Tests","of","FullBatchNodeGenerator","class"]
code: def test_generator_flow_targets_not_iterator(self):
      generator = FullBatchLinkGenerator(self.G)
      link_ids = list(self.G.edges())[:3]
      link_targets = 1
      with pytest.raises(TypeError):
          generator.flow(link_ids, link_targets)
  
imports: from stellargraph.core.graph import *
  from stellargraph.mapper import FullBatchGenerator, FullBatchLinkGenerator, FullBatchNodeGenerator
  import networkx
  import numpy
  import random
  import pytest
  import pandas
  import scipy.sparse
  from ..test_utils.graphs import create_graph_features, example_graph_random, example_hin_1, example_graph
label_desc: Use image node_id 8 for calling the Test_FullBatchLinkGenerator obj's underlying member method code with example usage: obj.test_generator_flow_targets_not_iterator() without return types