#NEWLINE# @ MigrateCommand . option ( '-v' , '--verbose' , dest = 'verbose' , action = 'store_true' , default = False , help = 'Use more verbose output' ) #NEWLINE# @ MigrateCommand . option ( '-r' , '--rev-range' , dest = 'rev_range' , default = None , help = 'Specify a revision range; format is [start]:[end]' ) #NEWLINE# @ MigrateCommand . option ( '-d' , '--directory' , dest = 'directory' , default = None , help = "migration script directory (default is 'migrations')" ) #NEWLINE# def history( directory = None , rev_range = None , verbose = False ) : #NEWLINE# #INDENT# 'List changeset scripts in chronological order.' #NEWLINE# config = current_app . extensions [ 'migrate' ] . migrate . get_config ( directory ) #NEWLINE# if ( alembic_version >= ( 0 , 7 , 0 ) ) : #NEWLINE# #INDENT# command . history ( config , directory , verbose = verbose ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# command . history ( config , rev_range )