<commit_before>from django import forms
from django.contrib.auth.models import User
from .models import QuerySubmission
from django.utils.translation import ugettext_lazy as _


class QuerySubmissionForm(forms.ModelForm):
	class Meta:
		model = QuerySubmission
		fields = ['state', 'jobdir', 'creds_file']
		labels={
			'state':_('Query type'),
			'jobdir':_('Unique token'),
			'creds_file':_('AWS Credentials File')
		}
		help_texts={
			'state':_('Level of analysis to perform'),
			'jobdir':_('Unique token of jobs to kill or check status'),
			'creds_file':_('File containing user credentials for AWS services')
		}<commit_msg>Update forms.py<commit_after>from django import forms
from django.contrib.auth.models import User
from .models import QuerySubmission
from django.utils.translation import ugettext_lazy as _


class QuerySubmissionForm(forms.ModelForm):
	class Meta:
		model = QuerySubmission
		fields = ['state', 'jobdir', 'creds_file']
		labels={
			'state':_('Query type'),
			'jobdir':_('Unique token'),
			'creds_file':_('AWS Credentials File')
		}
		help_texts={
			'state':_('Type of query you wish to perform on your jobs'),
			'jobdir':_('The personalized unique identifier that you used to submit the jobs originally'),
			'creds_file':_('CSV file containing your user credentials for AWS services')
		}
{'fraction_non_alphanumeric': 0.11831198191409194, 'fraction_numerical': 0.0, 'mean_word_length': 5.176744186046512, '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': '3909671', 'n_tokens_mistral': 440, 'n_tokens_neox': 401, 'n_words': 125}