<commit_before>import todo_item
import sqlite3


class ToDoList(object):
	def __init__(self, name, description, todo_items = [todo_item.ToDoItem()]):
		if type(name) != type(''):
			self.name = 'Enter valid name'
		else:
			self.name = name
		if type(description) != type(''):
			self.description = 'Enter valid description'
		else:
			self.description = description
		self.todo_items = todo_items

	def add_todo(self, content, complete = 0, *args):<commit_msg>add default generic description for ToDoList class<commit_after>import todo_item
import sqlite3


class ToDoList(object):
	def __init__(self, name, description = 'A generic to do list', todo_items = [todo_item.ToDoItem()]):
		if type(name) != type(''):
			self.name = 'Enter valid name'
		else:
			self.name = name
		if type(description) != type(''):
			self.description = 'Enter valid description'
		else:
			self.description = description
		self.todo_items = todo_items

	def add_todo(self, content, complete = 0, *args):
{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.0040650406504065045, 'mean_word_length': 4.628571428571429, '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': '1943435', 'n_tokens_mistral': 348, 'n_tokens_neox': 313, 'n_words': 90}