# Path: edx_data_research/base.py
# class Base(object):
# 
#     def __init__(self, args):
#         self.uri = args.uri
#         self.db_name = args.db_name
#         self.client = MongoClient(self.uri)
#         self.db = self.client[self.db_name]
#         self._collections = None
# 
#     @property
#     def collections(self):
#     	return self._collections
#     	
#     @collections.setter
#     def collections(self, _collections):
#     	self._collections = {collection : self.db[collection]
#                              for collection in _collections}


import csv
import os
from edx_data_research.base import Base


class Report(Base):

    def __init__(self, args):
        super(Report, self).__init__(args)
        self.output_directory = args.output_directory
        self.row_limit = args.row_limit
        self.csv_data = None

# Path: edx_data_research/base.py
# class Base(object):
# 
#     def __init__(self, args):
#         self.uri = args.uri
#         self.db_name = args.db_name
#         self.client = MongoClient(self.uri)
#         self.db = self.client[self.db_name]
#         self._collections = None
# 
#     @property
#     def collections(self):
#     	return self._collections
#     	
#     @collections.setter
#     def collections(self, _collections):
#     	self._collections = {collection : self.db[collection]
#                              for collection in _collections}


# Path: edx_data_research/reporting/report.py
import csv
import os
from edx_data_research.base import Base



class Report(Base):

    def __init__(self, args):
        super(Report, self).__init__(args)
        self.output_directory = args.output_directory
        self.row_limit = args.row_limit
        self.csv_data = None

        self.headers = None