def __init__(self, premodel_data): ''' This constructor inherits additional class properties, from the constructor of the 'BaseData' superclass. ''' # superclass constructor BaseData.__init__(self, premodel_data)
def __init__(self, premodel_data, uid): ''' This constructor inherits additional class properties, from the constructor of the 'BaseData' superclass. ''' # superclass constructor BaseData.__init__(self, premodel_data, uid)
def __init__(self, premodel_data): ''' This constructor inherits additional class properties, from the constructor of the 'BaseData' superclass. ''' # superclass constructor BaseData.__init__(self, premodel_data) # class variable if session.get('uid'): self.max_document = current_app.config.get('MAXDOC_AUTH') else: self.max_document = current_app.config.get('MAXDOC_ANON')
def __init__(self, premodel_data, uid): ''' This constructor inherits additional class properties, from the constructor of the 'BaseData' superclass. ''' # superclass constructor BaseData.__init__(self, premodel_data, uid) # class variable if session.get('uid'): self.max_document = current_app.config.get('MAXDOC_AUTH') else: self.max_document = current_app.config.get('MAXDOC_ANON')