<filename>workspace/module/python-2.7/LxPreset/prsOutputs/_prsOutPath.py
# coding:utf-8
from LxPreset import prsConfigure

from LxPreset.prsOutputs import _prsOutUtility

Database = type('Database', (object,), {})


class Asset(object):
    def __init__(self):
        pass

    @property
    def name(self):
        return None

    @property
    def variant(self):
        return None


def __convert__(variantString):
    return variantString.format(**_prsOutUtility.Util.__dict__)


def __load__(cls, dic):
    for k, v in dic.items():
        setattr(cls, k, __convert__(v))


__load__(
    Database,
    prsConfigure.VAR_path_database
)

<filename>workspace/module/python-2.7/LxPreset/prsOutputs/_prsOutPath.py
# coding:utf-8
from LxPreset import prsConfigure

from LxPreset.prsOutputs import _prsOutUtility

Database = type('Database', (object,), {})


class Asset(object):
    def __init__(self):
        pass

    @property
    def name(self):
        return None

    @property
    def variant(self):
        return None


def __convert__(variantString):
    return variantString.format(**_prsOutUtility.Util.__dict__)


def __load__(cls, dic):
    for k, v in dic.items():
        setattr(cls, k, __convert__(v))


__load__(
    Database,
    prsConfigure.VAR_path_database
)

# coding:utf-8