def __init__()

in datasource.py [0:0]


    def __init__(self, param) -> None:
        
        log = utils.Log()
        self.type = param['output-type']
        self.Deli = param['separator']
        self.rsize = param['req-size']
        self.list = []
        self.crlf = ''

        if param['output-type'] == 'file': self.Output=open(param['output'],'w')
            
        elif param['output-type'] == 'ddb':
            self.Record = {}
            self.dsrc = param['output']