<commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.core.management import call_command
from django.db import migrations

from corehq.sql_db.operations import HqRunPython


def cchq_software_plan_bootstrap(*args):
    call_command('cchq_software_plan_bootstrap')


class Migration(migrations.Migration):

    dependencies = [
        ('accounting', '0002_update_pricing_table'),
    ]
<commit_msg>directly call ensure_plans in migration<commit_after># -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations

from corehq.apps.accounting.management.commands.cchq_software_plan_bootstrap import ensure_plans
from corehq.sql_db.operations import HqRunPython


def cchq_software_plan_bootstrap(apps, schema_editor):
    ensure_plans(dry_run=False, verbose=True, for_tests=False, apps=apps)


class Migration(migrations.Migration):

    dependencies = [
        ('accounting', '0002_update_pricing_table'),
    ]

{'fraction_non_alphanumeric': 0.08906882591093117, 'fraction_numerical': 0.010121457489878543, 'mean_word_length': 5.506578947368421, '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': '7502', 'n_tokens_mistral': 322, 'n_tokens_neox': 303, 'n_words': 62}