<commit_before>from credstash import getAllSecrets
from flask.ext.script import Manager, Server
from flask_migrate import Migrate, MigrateCommand
from app import create_app, db

secrets = getAllSecrets(region="eu-west-1")

application = create_app('live')

for key in application.config.keys():
        if key in secrets:
                application.config[key] = secrets[key]


manager = Manager(application)
migrate = Migrate(application, db)
manager.add_command('db', MigrateCommand)<commit_msg>Removed secrets setup from db script<commit_after>from flask.ext.script import Manager, Server
from flask_migrate import Migrate, MigrateCommand
from app import create_app, db

application = create_app('live')

manager = Manager(application)
migrate = Migrate(application, db)
manager.add_command('db', MigrateCommand)
{'fraction_non_alphanumeric': 0.08823529411764706, 'fraction_numerical': 0.0012254901960784314, 'mean_word_length': 5.923728813559322, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3757770', 'n_tokens_mistral': 245, 'n_tokens_neox': 232, 'n_words': 68}