<s> from django . core . management . base import BaseCommand <EOL> from zappa . zappa import Zappa <EOL> from . zappa_command import ZappaCommand <EOL> class Command ( ZappaCommand ) : <EOL> help = '''<STR_LIT>''' <EOL> def add_arguments ( self , parser ) : <EOL> parser . add_argument ( '<STR_LIT>' , nargs = '<STR_LIT:+>' , type = str ) <EOL> parser . add_argument ( '<STR_LIT>' , nargs = '<STR_LIT:+>' , type = int ) <EOL> def handle ( self , * args , ** options ) : <EOL> self . require_settings ( args , options ) <EOL> self . load_credentials ( ) <EOL> revision = options [ '<STR_LIT>' ] [ <NUM_LIT:0> ] <EOL> print ( "<STR_LIT>" ) <EOL> self . zappa . rollback_lambda_function_version ( <EOL> self . lambda_name , versions_back = revision ) <EOL> print ( "<STR_LIT>" ) </s>
