#NEWLINE# @ classmethod #NEWLINE# def get( cls , key , default = None ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return cls . objects . get ( key = key ) . value #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# if ( default is None ) : #NEWLINE# #INDENT# raise e #NEWLINE# #UNINDENT# return default