@publisher('model')
def check_if_default_shader():
    # skip if this is a representation
    v = staging.get('version')
    if v and Representation.repr_separator in v.take_name:
        return

    if len(pm.ls(mat=1)) > 2:
        raise PublishError(
            'Use only lambert1 as the shader!'
        )
Associate this wrapper with all future mapped columns
dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/publish.py/check_if_default_shader--crossover with--dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/packages/sqlalchemy/ext/mutable.py/Mutable.associate_with