def __init__(self, filename, replace):
     AbstractImporter.__init__(self, Constant.ERROR_KEY_ENTITY_FACT,
                               filename, replace,
                               ConstantStatus.COMPANY_STATUS,
                               ConstantStatus.ENTITY_FACT_STATUS)
     self.processCache = None
     self.conceptName = 'dei:EntityCommonStockSharesOutstanding'
 def __init__(self, filename, replace):
     AbstractImporter.__init__(self, errorKey=Constant.ERROR_KEY_COPY, filename=filename, replace=replace, previousStatus=ConstantStatus.FACT_STATUS, 
                               actualStatus=ConstantStatus.COPY_STATUS)
     self.customConceptList = GenericDao().getAllResult(objectClazz=CustomConcept, condition=(or_(CustomConcept.fillStrategy == "COPY_CALCULATE", CustomConcept.fillStrategy == "COPY")), session=self.session)
示例#3
0
 def __init__(self, filename, replace):
     AbstractImporter.__init__(self, Constant.ERROR_KEY_EXPRESSION, filename, replace, ConstantStatus.COPY_STATUS, ConstantStatus.EXPRESSION_STATUS)
     self.expressionDict = ExpressionEngine().getExpressionDict(self.session)
示例#4
0
 def __init__(self, filename, replace):
     AbstractImporter.__init__(self, Constant.ERROR_KEY_FACT, filename,
                               replace, ConstantStatus.PRICE_STATUS,
                               ConstantStatus.FACT_STATUS)
     self.processCache = None
 def __init__(self, filename, replace):
     AbstractImporter.__init__(self, Constant.ERROR_KEY_CALCULATE, filename, replace, ConstantStatus.COPY_STATUS, ConstantStatus.CALCULATE_STATUS)
 def __init__(self, filename, replace):
     AbstractImporter.__init__(self, Constant.ERROR_KEY_FILE, filename,
                               replace, None, ConstantStatus.FILE_STATUS)
 def __init__(self, filename, replace):
     AbstractImporter.__init__(self, Constant.ERROR_KEY_COMPANY, filename,
                               replace, ConstantStatus.FILE_STATUS,
                               ConstantStatus.COMPANY_STATUS)
     self.processCache = None