#NEWLINE# def schemas( self , stat = None ) : #NEWLINE# #INDENT# "\n    Get the matching schemas for a stat, or an empty list if there aren't any.\n    If no stat name provided, will return a list of all schemas.\n    " #NEWLINE# if ( stat is None ) : #NEWLINE# #INDENT# return self . _schemas [ : ] #NEWLINE# #UNINDENT# return [ s for s in self . _schemas if s . match ( self ) ]