qat.qlmaas.upload.MetaLocalJunction

The MetaLocalJunction() metaclass is used for defining a qat.plugins.UploadedPlugin.

qat.qlmaas.upload.MetaLocalJunction(class_name, parents, attributes)

Local Junction meta class. Junction defined using this class can be uploaded using using UploadedPlugin.

from qat.qlmaas.upload import MetaLocalJunction
from qat.core import Result

class LocalJunction(metaclass=MetaLocalJunction):
    " Uploadable junction "
    def run(self, initial_object, meta_data):
        " run job/batch "
        # Import result class
        # run job and return result
        ...
        return Result()