code: def get_transversals(base, gens):
      """
      Return transversals for the group with BSGS base, gens
      """
      if not base:
          return []
      stabs = _distribute_gens_by_base(base, gens)
      orbits, transversals = _orbits_transversals_from_bsgs(base, stabs)
      transversals = [
          {x: h._array_form for x, h in y.items()} for y in transversals
      ]
      return transversals
  
imports: from sympy.combinatorics.permutations import Permutation, _af_rmul, _af_invert, _af_new
  from sympy.combinatorics.perm_groups import PermutationGroup, _orbit, _orbit_transversal
  from sympy.combinatorics.util import _distribute_gens_by_base, _orbits_transversals_from_bsgs
label_desc: Use image node_id 15 for calling a global function with example usage: get_transversals(base, gens) and returns: transversals, list