class_docstr: Base class for exploring graphs.
class_docstr_tok: ["Base","class","for","exploring","graphs","."]
code: def get_adjacency_types(self):
      # Allow additional info for heterogeneous graphs.
      adj = getattr(self, "adj_types", None)
      if not adj:
          # Create a dict of adjacency lists per edge type, for faster neighbour sampling from graph in SampledHeteroBFS:
          self.adj_types = adj = self.graph._adjacency_types(
              self.graph_schema, use_ilocs=True
          )
      return adj
  
imports: import numpy
  import warnings
  from collections import defaultdict, deque
  from scipy import stats
  from scipy.special import softmax
  from ..core.schema import GraphSchema
  from ..core.graph import StellarGraph
  from ..core.utils import is_real_iterable
  from ..core.validation import require_integer_in_range, comma_sep
  from ..random import random_state
  from abc import ABC, abstractmethod
label_desc: Use image node_id 2 for calling the GraphWalk obj's underlying member method code with example usage: obj.get_adjacency_types() and returns: adj