#NEWLINE# @ classmethod #NEWLINE# def get( cls , id ) : #NEWLINE# #INDENT# result = cls . query . filter_by ( url = id ) . first ( ) #NEWLINE# if ( ( result is None ) and ( len ( result ) == 32 ) ) : #NEWLINE# #INDENT# result = cls . query . get ( id ) #NEWLINE# #UNINDENT# return result