<commit_before>import board as b
import list as l
import card as c
from pymongo import MongoClient


class Project(object):

	def __init__(self, name):
		self.name = name
		self.boards = []
		# self.cards = []
		self.description = ""
		self.start_date = ""
		self.end_date = ""
		self.prefix = self.name[0:3].upper()

	def addBoard(self, board_name):
		self.boards.append(b.Board(board_name))
		return None

	def getListOfBoardNames(self):
		ret = []
		for board in self.boards:
			ret.append(board.name)
		return ret


	def getDocument(self):

		document = {
		"name": self.name,
		"boards": self.boards,
		"description": self.description,
		"prefix": self.prefix
		}

		return document
<commit_msg>Removed imported pymongo from projects.py class<commit_after>import board as b
import list as l
import card as c


class Project(object):

	def __init__(self, name):
		self.name = name
		self.boards = []
		# self.cards = []
		self.description = ""
		self.start_date = ""
		self.end_date = ""
		self.prefix = self.name[0:3].upper()

	def addBoard(self, board_name):
		self.boards.append(b.Board(board_name))
		return None

	def getListOfBoardNames(self):
		ret = []
		for board in self.boards:
			ret.append(board.name)
		return ret


	def getDocument(self):

		document = {
		"name": self.name,
		"boards": self.boards,
		"description": self.description,
		"prefix": self.prefix
		}

		return document

{'fraction_non_alphanumeric': 0.1291012838801712, 'fraction_numerical': 0.0028530670470756064, 'mean_word_length': 3.6303630363036303, 'pattern_counts': {'":': 8, '<': 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': '1136605', 'n_tokens_mistral': 536, 'n_tokens_neox': 476, 'n_words': 119}