qat.generators.UploadedGenerator

An uploadable Generator must be defined using the metaclass MetaLocalGenerator().

class qat.generators.UploadedGenerator(generator, *args, **kwargs)

An uploaded Generator is a myQLM generator uploaded to the server side, to be included in a myQLM Power Access remote stack

Note

This generator is useless if not used in a myQLM Power Access stack

from qlmaas.generator import UploadedGenerator

# Build a local generator (should be build using MetaLocalGenerator metaclass)
local_generator = LocalGenerator()

# Create a remote stack
stack = UploadedGenerator(generator=local_generator) | ...

# Generate a batch
stack.generate(..., ...)
Parameters

generator (AbstractGenerator) – Generator defined locally and dillable