reset.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:timestrap 作者: overshard 项目源码 文件源码
def add_arguments(self, parser):
        parser.add_argument(
            '--noinput', '--no-input',
            action='store_false', dest='interactive', default=True,
            help='Tells the command to NOT prompt the user for input of any '
                 'kind.',
        )
        parser.add_argument(
            '--database', action='store', dest='database',
            default=DEFAULT_DB_ALIAS,
            help='Nominates a database to flush. Defaults to the "default" '
                 'database.',
        )
        parser.add_argument(
            '--fake',
            dest='iterations',
            default=5,
            help=(
                'Fill the database with fake data after the reset. Provide a '
                'number a number of iterations to perform (higher number = '
                'more fake data).'
            ),
        )
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号