#NEWLINE# @ log_helpers . log_method_call #NEWLINE# def get_tag( self , context , resource , resource_id , tag ) : #NEWLINE# #INDENT# res = self . _get_resource ( context , resource , resource_id ) #NEWLINE# if ( not any ( ( ( tag == tag_db . tag ) for tag_db in tag_db . standard_attr . tags ) ) ) : #NEWLINE# #INDENT# raise tag_ext . TagNotFound ( tag = tag )