I was able to implement this in the python caller which produces the result but when I substitute the hard coded data for "myList" it does not work for me.
import itertools
Â
myList =
  'a1', 'b1', 'c1'],
  >'a1', 'b1', 'c1']
]
for x in itertools.product(*myList):
  results = list(itertools.product(myList))
  print (x)
Â
How do I pass the output in my list out? How do I substitute myList with the data from my DB.
CODE in Python Caller which lists results in the translation log
import fme
import fmeobjects
import itertools
# Template Function interface:
# When using this function, make sure its name is set as the value of
# the 'Class or Function to Process Features' transformer parameter
def processFeature(feature):
  pass
Â
# Template Class Interface:
# When using this class, make sure its name is set as the value of
# the 'Class or Function to Process Features' transformer parameter
class FeatureProcessor(object):
  def __init__(self):
    pass
  def input(self,feature):
    somelists = p>'a1', 'b1', 'c1'],3'a1', 'b1', 'c1']]
    for elements in itertools.product(*somelists):
      print (elements)
    Â
    self.pyoutput(feature)
    Â
  def close(self):
    pass