<commit_before>{% set environment = salt.grains.get('environment', 'data-qa') %}
{% set xpro_map = {
    'data-qa': {
        'xpro_environment': 'mitxpro-qa',
        'xpro_purpose': 'xpro-qa'
    },
    'data-production': {
        'xpro_environment': 'mitxpro-production',
        'xpro_purpose': 'xpro-production'
    }
} %}
{% set xpro_purpose = xpro_map[environment].xpro_purpose %}
{% set xpro_environment = xpro_map[environment].xpro_environment %}
{% set rds_endpoint = salt.boto_rds.get_endpoint('ol-mitxpro-edxapp-db-{env_suffix}'.format(env_suffix=environment.split('-')[-1])) %}
{% set MYSQL_HOST = rds_endpoint.split(':')[0] %}

dagster:
  pipeline_configs:
    xpro_edx:
      execution:
        multiprocess:
          config:<commit_msg>Fixing Consul datacenter name for xpro in dagster pipelines<commit_after>{% set environment = salt.grains.get('environment', 'data-qa') %}
{% set xpro_map = {
    'data-qa': {
        'xpro_environment': 'xpro-qa',
        'xpro_purpose': 'xpro-qa'
    },
    'data-production': {
        'xpro_environment': 'xpro-production',
        'xpro_purpose': 'xpro-production'
    }
} %}
{% set xpro_purpose = xpro_map[environment].xpro_purpose %}
{% set xpro_environment = xpro_map[environment].xpro_environment %}
{% set rds_endpoint = salt.boto_rds.get_endpoint('ol-mitxpro-edxapp-db-{env_suffix}'.format(env_suffix=environment.split('-')[-1])) %}
{% set MYSQL_HOST = rds_endpoint.split(':')[0] %}

dagster:
  pipeline_configs:
    xpro_edx:
      execution:
        multiprocess:
          config:
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.002583979328165375, 'mean_word_length': 3.766153846153846, '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': '940102', 'n_tokens_mistral': 584, 'n_tokens_neox': 550, 'n_words': 77}