class Yast.YAST(name, config=None) * name your YAST instance with a specific config
def YAST.train(src_file)