Example #1
0
	def _randomSliceStructure(self):
		if self.sliceStructs is None:
			self.sliceStructs = QueryRunner.getAllSliceStructures()

		randomSelection = Util.GetRandomElementFromList(self.sliceStructs)

		return randomSelection
Example #2
0
	def __init__(self, writer):
		self.engine = None
		self.sliceStructs = QueryRunner.getAllSliceStructures()
		self.generatedSlices = {}
		self.writer = writer