Exemplo n.º 1
0
 def __init__(self, *args, **kwargs):
     Cli.__init__(self, *args, **kwargs)
     log.info('ClientId: %s' % self.pa[0])
     log.info('AsOfDate: %s' % self.pa[1])
     #self.proc_config()
     log.info('Env: [%s]' % self.rte)
     self.start_time = time.time()
Exemplo n.º 2
0
	def __init__(self,*args, **kwargs):
		Cli.__init__(self, *args, **kwargs)

		#self.proc_config()
		log.info('Env: [%s]' % self.rte)
		self.start_time = time.time()
		self.apx=''
Exemplo n.º 3
0
    def __init__(self, *args, **kwargs):
        Cli.__init__(self, *args, **kwargs)
        Teardown.__init__(self, *args, **kwargs)
        self.proc_config()
        log.info('Env: [%s]' % self.rte)
        self.start_time = time.time()

        self._source = None
Exemplo n.º 4
0
    def __init__(self, *args, **kwargs):
        Cli.__init__(self, *args, **kwargs)

        #self.wflow=kwargs.get('work_flow', None)
        self.csep = '^'
        pp(self.lame_duck)
        #e()
        if 1:
            temp_name = next(tempfile._get_candidate_names())
            tss = datetime.now().strftime('%Y%m%d_%H%M%S')
            self.filter = '%s.%s' % (temp_name, tss)
        assert self.dcf, 'Provide db config file name [-dcf]'
        assert self.dcf, 'Provide proc config file name [-pcf]'
        self.db_config()
        self.proc_config()
        log.info('Env: [%s]' % self.rte)
        self.start_time = time.time()