'Method to create the S3PDFDataSource object'

def __init__(self, obj):

    self.resource = obj.resource
    self.list_fields = obj.list_fields
    self.report_groupby = obj.report_groupby
    self.hideComments = obj.hideComments
    self.fields = None
    self.labels = None
    self.records = False
