def call_on_class_only(*args, **kwargs):
 raise AttributeError('This method should be called on a class object.')

def call_on_class_only ( * args , ** kwargs ) : raise AttributeError ( 'This method should be called on a class object.' )
raise exception when load methods are called on instance .