#NEWLINE# @ resource . register ( '.*\\*.+' , priority = 12 ) #NEWLINE# def resource_glob( uri , **kwargs ) : #NEWLINE# #INDENT# filenames = sorted ( glob ( uri ) ) #NEWLINE# r = resource ( filenames [ 0 ] , ** kwargs ) #NEWLINE# return chunks ( type ( r ) ) ( [ resource ( u , ** kwargs ) for u in sorted ( glob ( uri ) ) ] )