def load_from_object(self, object_name):
for key in dir(object_name):<EOL><INDENT>if key.isupper():<EOL><INDENT>self[key] = getattr(object_name, key)<EOL><DEDENT><DEDENT>
load all upper parameters of object as config parameters
:param object_name: the object you wanna load
:return: